Steven Schoch
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Error establishing database connectionI got my web server provider to enable secure password hashing. The problem is now solved!
Forum: Installing WordPress
In reply to: Error establishing database connectionHere’s an update: Turning on WP_DEBUG gives this:
Warning: mysql_connect() [function.mysql-connect]: mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file in ..../help/wp-includes/wp-db.php on line 1034I think we’re getting closer.
Forum: Installing WordPress
In reply to: Error establishing database connectionI’m getting the same problem. I have a shell account with my web host. The database name works with the MySQL client program:
mysql -hlocalhost -ustarnet_12 -p starnet_wordpress Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 134549 Server version: 5.0.91-log Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql>These values (localhost, starnet_12, starnet_wordpress, and the password I pasted) don’t work in the wp-config.php file as they return the “Error establishing a database connection” page.
Other database connections on that server work fine, using mysql_pconnect() calls.