Server name mysql

I’ve tried everything and can’t connect to the database. Please help, what should I put in “server”?

Find the MySQL Hostname value in your control panel (it’s in the sidebar and in the MySQL Databases menu).

Also, as phpStorm is clearly marking for you: the mysql_* functions are deprecated and should not be used.

still dont work. Now I get “A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.”

@profeccter1611 said:
still dont work. Now I get “A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.”

On which hosting account do you experience this problem, in which file is the connection code and what’s a URL I can use so the connection code is executed? I would like to check what’s going on.

There’s everything I have. It won’t work. I use free account

@profeccter1611 said:
http://imgur.com/a/d2P9U

There’s everything I have. It won’t work. I use free account

In the final screenshot, you’re trying to visit your local IP address. You can only access your database from within your hosting account, not from your own computer. Any scripts communicating with the database must be uploaded to your account first. Remote MySQL access is only available on XVHOST.