MySQL Problems…
-
I have a nifty little problem… After everything is correctly configured i go to the /wp-admin/install.php (and i don’t get by step 1).
–
SQL/DB Error — [
1. Error establishing a database connection!Are you sure you have the correct user/password?
2. Are you sure that you have typed the correct hostname?
3. Are you sure that the database server is running?
4.
–
Bla bla bla, and a lot of code from wp-db.php.
–
At the bottom(footer?) i get this:
Warning: pg_last_error(): No PostgreSQL link opened yet in /var/www/kimbo/wp-includes/wp-db.php on line 94
–
The thing is… PostreSQL? I use MySQL and yes everything is working just fine… I own several servers, used things like this thousends of times before.As i see it wp-db.php is using PostgreSQL commands, and wp-config.php and install.php is using MySQL commands.
I could not find a smiliar problem/post on the forum, so sorry if i missed it(I gave up on page 37).
wp-config.php:
// ** MySQL settings ** //
define(‘DB_NAME’, ‘wordpress’); // The name of the database
define(‘DB_USER’, ‘wordpress’); // Your MySQL username
define(‘DB_PASSWORD’, ‘password’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
–And yes, the server is up and running, the user has priviliges, the database is created, password correct and so on.
And thanks to any one who know what the problem is!
- The topic ‘MySQL Problems…’ is closed to new replies.