I can find the admin of my site astrokunst.nl

After instal Cloudflare i can not login in the admin of my site
See: Error making the database connection

Your site is probably configured to use a hostname for the database. It should be set to ‘localhost’ or the IP address of your database server. Cloudflare does not proxy database traffic.

Hello tank you i am a amateur so where do i can do this It should be set to ‘localhost’ or the IP address of your database server.

If this is WordPress, it’s in the wp-config.php file on your server. If it’s not WordPress, then I don’t know where that would be set. In that case, reply with the name of the software you’re using and someone here might know the answer.

1 Like

it is a wordpress site do i have to do this white filezilla

Yes. Filezilla should let you edit text files such as wp-config.php on the server.

Thanks you again, were shout a place ‘localhost’?

/** MySQL hostname */
define( ‘DB_HOST’, ‘localhost’ );

I am trying it. When i succeede i let no you!!

1 Like

I hvae try it but it dont work see:
/** MySQL hostname /
define( ‘DB_HOST’, ‘localhost’ );
/
* Database Charset to use in creating database tables. /
define(‘DB_CHARSET’, ‘utf8mb4’);
/
* The Database Collate type. Don’t change this if in doubt. */
define(‘DB_COLLATE’, ‘’);

What was DB_HOST set to before?

define(‘DB_HOST’, ‘db-4a.mijndomein-ws.nl’);

My site dident work anymore. I have delete him from cloudflare. I take contact white my server to do it again.
Thank you very muts for your help!!!

This topic was automatically closed after 31 days. New replies are no longer allowed.