Getting error establish a database connection.
-
When running the wordpress and after entering my database details i am getting error establish a database connection.
Please resolve me.
-
– First, try contacting the hosting provider if the database server is online / if they have any other problem at their end, or they made any changes to your account, or if there are any limitations/restrictions, if the hosting package is set to Windows and not Linux, etc .
– double check your wp-config.php file settings for the database name, database username and database password. This is where most errors occur.
-Then check that you don’t need to change the database host from “localhost” to something else. You can get that info from your hosting provider.
-Check you have actually created a database with the same database name as is in your wp-config.php file.
-Last, but not least, if all that information is correct your database probably has a problem with it, and you may need to contact your hosting provider.Properly edit your wp-config.php file again…
Can u able to tell me i shoul rename the wp-config-sample.php into wp-config.php…
No. actually partially you can change it but in wp-config-sample.php file u can’t fill the
define(‘AUTH_KEY’, ‘put your unique phrase here’);
define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);
define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);
define(‘NONCE_KEY’, ‘put your unique phrase here’);
define(‘AUTH_SALT’, ‘put your unique phrase here’);
define(‘SECURE_AUTH_SALT’, ‘put your unique phrase here’);
define(‘LOGGED_IN_SALT’, ‘put your unique phrase here’);
define(‘NONCE_SALT’, ‘put your unique phrase here’);tell me one thing is there u have edited your wordpress site locally.. i mean on any local computer host software..
No i didnt edited any host.
Everything is correct but again error establish a database connection.
Can u able o tell me step by step and i will follow as ur guide.
give me your gmail id so we can talk on chat… it’s too difficult for chat here… and mark this topic as resolved..
[Moderator Note: These are community forums, Topics should remain here. Do not encourage posters to use email, skype or any other off-forum means of communication]
Mark this as resolved in below options… as i have resolved your problem.
Hi, i am new to this.
I have wordpress site, from last few days, i am getting an error ” Error establishing a Database connection “. i thought is is my host provider problem, and i contacted them, they said, from their end it is all good. below he send the error which occuring in php, as i dont know much, please somebody can help me in resolving that issue.
I did notice that you have a lot of running php processes on your account many of which are zombie processes:2588 gadgetnu 20 0 0 0 0 Z 0.0 0.0 0:01.81 [php5] <defunct>
2873 gadgetnu 20 0 0 0 0 Z 0.0 0.0 0:00.86 [php5] <defunct>
4799 gadgetnu 20 0 0 0 0 Z 0.0 0.0 0:00.76 [php5] <defunct>
5649 gadgetnu 20 0 0 0 0 Z 0.0 0.0 0:00.79 [php5] <defunct>
7799 gadgetnu 20 0 0 0 0 Z 0.0 0.0 0:01.97 [php5] <defunct>
8211 gadgetnu 20 0 283m 47m 9184 S 0.0 0.1 0:00.97 /ramdisk/bin/php5 /home1/gadgetnu/public_html/index.php
10290 gadgetnu 20 0 0 0 0 Z 0.0 0.0 0:02.28 [php5] <defunct>
11952 gadgetnu 20 0 0 0 0 Z 0.0 0.0 0:00.80 [php5] <defunct>
14290 gadgetnu 20 0 0 0 0 Z 0.0 0.0 0:00.77 [php5] <defunct>
14515 gadgetnu 20 0 0 0 0 Z 0.0 0.0 0:00.74 [php5] <defunct>
16721 gadgetnu 20 0 284m 47m 9168 S 0.0 0.1 0:00.78 /ramdisk/bin/php5 /home1/gadgetnu/public_html/index.php
16958 gadgetnu 20 0 0 0 0 Z 0.0 0.0 0:00.76 [php5] <defunct>
18411 gadgetnu 20 0 0 0 0 Z 0.0 0.0 0:00.78 [php5] <defunct>
19336 gadgetnu 20 0 284m 48m 9180 S 0.0 0.1 0:00.71 /ramdisk/bin/php5 /home1/gadgetnu/public_html/index.php
19662 gadgetnu 20 0 284m 48m 9208 S 0.0 0.1 0:00.68 /ramdisk/bin/php5 /home1/gadgetnu/public_html/index.php
19987 gadgetnu 20 0 284m 47m 9184 S 0.0 0.1 0:00.69 /ramdisk/bin/php5 /home1/gadgetnu/public_html/index.php
21332 gadgetnu 20 0 284m 48m 9180 S 0.0 0.1 0:00.62 /ramdisk/bin/php5 /home1/gadgetnu/public_html/index.php
22579 gadgetnu 20 0 284m 48m 9212 S 0.0 0.1 0:00.63 /ramdisk/bin/php5 /home1/gadgetnu/public_html/index.php
24858 gadgetnu 20 0 283m 47m 9112 S 0.0 0.1 0:00.48 /ramdisk/bin/php5 /home1/gadgetnu/public_html/index.phpYou may want to look into these php processes being spawned as they may be related to your issue.
Please help me in resolving my issue.
how to go to the wp-config file?
go to filezilla, login with username and password, and there go to your directory ( remote site-www), in there you will find wp-config.php
@gadgetnuz I don’t understand your problem exactly, can you explain again in detail so we can help you. email me the screen shots of your error at [email address moderated – this forum does not provide support via email]
amol sawant.
[Moderator Note: These are community forums, Topics should remain here. Do not encourage posters to use email, skype or any other off-forum means of communication]
i get this every time I try to login!!!! help
/homepages/5/d428743217/htdocs/app428743233/wp-includes/pluggable.php on line 897
@msuzique: It is impolite to interrupt another poster’s ongoing thread with a question of your own and it causes significant problems for the forum’s volunteers. Please post your own topic.
@msuzique Provide us the exact url of the error, so we can assist you further..
- The topic ‘Getting error establish a database connection.’ is closed to new replies.