appleboy
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Error Establishing Database connection.I tried following of your commands. Permission still denys. below you can see. I know /data is something I can’t allow because of root user right?
Last login: Mon Feb 21 19:21:40 on ttyp1
Welcome to Darwin!
[PowerBook-G4:~] jamesrow% ls -al /usr/local/mysql/
total 96
drwxr-xr-x 19 root wheel 646 25 Dec 04:15 .
drwxr-xr-x 14 root wheel 476 25 Dec 04:15 ..
-rw-r–r– 1 root wheel 19099 18 Dec 13:46 COPYING
-rw-r–r– 1 root wheel 5051 18 Dec 13:46 EXCEPTIONS-CLIENT
-rw-r–r– 1 root wheel 8369 18 Dec 13:46 INSTALL-BINARY
-rw-r–r– 1 root wheel 1937 18 Dec 10:25 README
drwxr-xr-x 50 root wheel 1700 25 Dec 04:15 bin
-rwxr-xr-x 1 root wheel 773 18 Dec 13:59 configure
drwxr-x— 11 mysql wheel 374 21 Feb 09:41 data
drwxr-xr-x 7 root wheel 238 25 Dec 04:15 docs
drwxr-xr-x 53 root wheel 1802 25 Dec 04:15 include
drwxr-xr-x 10 root wheel 340 25 Dec 04:15 lib
drwxr-xr-x 3 root wheel 102 25 Dec 04:15 man
drwxr-xr-x 10 root wheel 340 25 Dec 04:15 mysql-test
drwxr-xr-x 3 root wheel 102 25 Dec 04:15 scripts
drwxr-xr-x 3 root wheel 102 25 Dec 04:15 share
drwxr-xr-x 31 root wheel 1054 25 Dec 04:15 sql-bench
drwxr-xr-x 13 root wheel 442 25 Dec 04:15 support-files
drwxr-xr-x 21 root wheel 714 25 Dec 04:15 tests
[PowerBook-G4:~] jamesrow% chown -R mysql:mysql /usr/local/mysql/data
chown: /usr/local/mysql/data: Permission denied
chown: /usr/local/mysql/data: Operation not permitted
[PowerBook-G4:~] jamesrow%Forum: Installing WordPress
In reply to: Error Establishing Database connection.I copy your script and save in test2.php and run www.******.net/~jamesrowe/test2.php
I copied your scirpt and save in test2.php below
<?php
$link = mysql_connect(‘localhost’, ‘mysql_user’, ‘mysql_password’);
if (!$link) {
die(‘Could not connect: ‘ . mysql_error());
}
echo ‘Connected successfully’;
mysql_close($link);
?>Browser show up below:
Could not connect: Access denied for user: ‘mysql_user@localhost’ (Using password: YES)
Any idea?
Forum: Installing WordPress
In reply to: Error Establishing Database connection.I follow your similar problem. But I am not able to fix. I am very new with PHP, Apache, MySql. I do little know with Unix Termial with my Mac OS X 1o.3.8 running PowerBook G4.
I checked in Unix Termail window. cd /usr/local and then ls command that shows up php5 and mysql-standard-4.0.23-apple-darwin7.6.0-powerpc. And I don’t know where is apache I wish I know where but Mac OS X 10.3 has System Preference where I can go to Sharing and clicked Personal Web Sharing on that means Apache server power is turning on
I tried with cd /usr/local/mysql/data permission denied. I can’t change How? Should I do?
I experience same problem with Error establishing Database connection.
I want to know where can I get database name, database username, database password. I did change my database. I did change from database username to Jamesrowe. And I changed from database name to Jamesrowe. I did save SAVE AS in wp-config.php
The problem is still same again.