First time settings up Wordpress with Ubuntu

by Isaac on January 28th, 2010
if you follow the instructions to the T with ubuntu 9.10 you get a damn “cannot connect to database” error when you go to localhost/wordpress. To solve it open /etc/wordpress/config-localhost.php and get your temp password (e.g. ABCD1234)
then log into mysql with mysql -u root -p and type your password. when you get the mysql> prompt, set the password:
mysql> SET PASSWORD FOR ‘wordpress’@'localhost’ = OLD_PASSWORD(’ABCD1234′);
Query OK, 0 rows affected (0.00 sec)

it should be fixed

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS