Recheck you wp-config.php file and see if you got correct database info.
i am having the same issue. all of database info (username, passwords, hostname) is correct. i’ve also tried a few variations and none seem to work.
i’ve also tried a few variations and none seem to work.
There can not be any variations it has to be right even empty space or dot will give a error.
Same problem here. I have uploaded a fresh wordpress copy, check wp-config and database details on Cpanel. All match but still getting his error?
Since you using cpanel did you prefix the user name and database with your Cpanel username.
Cpanelusername_databasename
Cpanelusername_username
did you check with your host if you need to use localhost something else like url.
i have. and i’ve tried it with localhost. and i’ve tried it with a url. none seem to work.
Thanks Govpatel,
Wordpress codex also suggests that Cpanel often uses ‘localhost’
I uploaded wp-config with ‘localhost’ and the error changed to :
Failed opening required ‘/home/tre166/public_html/wp-content/plugins/breadcrumb-navxt/includes/mtekk_adminkit.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/tre16634/public_html/wp-content/plugins/breadcrumb-navxt/breadcrumb_navxt_admin.php on line 56
Looks like this plugin is causing the problem
breadcrumb-navxt
Using ftp filezills delete or rename the plugin.
YES!!
Thank you Gov!
I deleted breadcrumbs and I have wordpress log in page.
phew