Hi Folks,
same old Problem again. My Hoster meets all the requirements. My wp-config.php looks like:
<?php
define('DB_NAME', 'db78390');
define('DB_USER', 'db78390');
define('DB_PASSWORD', 'myPassword);
define('DB_HOST', 'localhost');
$table_prefix = 'wp_';
define ('WPLANG', '');
define('ABSPATH', dirname(__FILE__).'/');
require_once(ABSPATH.'wp-settings.php');
?>
Any idea what else i could check?
Thanks
Kons
roterhund
Member
Posted 4 years ago #
I would check if "localhost" is correct. Just a half-educated guess, I'm afraid, but it just might work.
the hoster is domaingo in Germany
localhost or mysql.domaingo.de? tried both versions but didn't work.
even tried user and name in different versions.
What precisely is the error message you get (there are two).
sometimes when you make a database.. it adds a prefix to the start of the db name. So if you made a db called
db73890
it might be prefixed with
sitename_db73890
double check this in your cpanel
it this:
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.
Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
i'd go with what corefx suggests above.
I just checked the Datebase server. But it seems that its running pretty well.
cpanel? is this within the sqladmin?
control panel, I'm not sure if your host has one or not but it's worth a shot to try it like this. Take your website name and add it as a prefix to the database... my site is corefx.net so i would put
corefx_db73890
that's the only thing that I could think of
Just tried but it didn't work. Thanks anyway.
Sounds like it's time to contact your host.
roterhund
Member
Posted 4 years ago #
define('DB_PASSWORD', 'myPassword);
There's a ' missing behind the password.
Ne ist drinne, ist beim rauskopieren verloren gegangen. Danke
:)
the ' was just gone while ****ing my password.
roterhund
Member
Posted 4 years ago #
Schade, wär' so schön einfach gewesen ;-)
Hello,
I received the same error when I tried the wp-admin/install.php on my local host. Should I upload the MySQL software also on my local host provider? My database name, wordpress username, password and local host checked fine with the MySQL on my Windows OS. My local host is bravenet.com
Dennis