Can’t connect to database during creation of wp-config.php
-
I’ve tried both using the wordpress “dynamic” approach using the web interface and configured this file manually but with zero success. I’m using WordPress 2.6.3 but have been able to use earlier versions of WordPress 2.6 with no problems in the past. This is a fresh install (I formatted my system).
I have a root user for ‘127.0.0.1’, ‘localhost’, and ‘rhino.local’ (my Leopard OS domain). After connecting to mysql (mysql -u root), I set the password for all of these accounts to be ‘abc’ using:
%> SET PASSWORD ‘root’@’127.0.0.1’ = NEW PASSWORD(‘abc’);
%> SET PASSWORD ‘root’@’localhost’ = NEW PASSWORD(‘abc’);
%> SET PASSWORD ‘root’@’rhino.local’ = NEW PASSWORD(‘abc’);From this machine using the command line I’m now able to connect with my new password like so:
mysql -u root -p
I provide my credentials using the “suggested method” as illustrated in this image and have tried substituting ‘rhino.local’ with ‘127.0.0.1’ and ‘localhost’ without success as well. I obviously want to try it using my Domain as it makes your site more “public” (I realize this is only visible on my LAN but it’s good practice for my purposes).
I’m using Apache with the rewrite module enabled (libexec/apache2/mod_rewrite.so) found in my httpd.conf file, MySQL 5.0 (package format) installed to /usr/local/mysql and PHP 5.2.6.
- The topic ‘Can’t connect to database during creation of wp-config.php’ is closed to new replies.