Database server is not available - in 1&1 cloud server
This could happen when you install many programmes like Joomla, Wordpress, osClass, opencart etc. You have a configuration file where you put everything correctly, but you get the error message 'database server is not available'.
This is a situation you may encounter when using 1&1 cloud server where you configure everything yourself.
You put database host name (server name) - usually it is 'localhost:3306'. You get this from the very top line of phpMyAdmin
Or you may get it from the server control panel like this. "Host name: service.gb-12.abcd-abcd.net"
Or you may get it from the server control panel like this. "Host name: service.gb-12.abcd-abcd.net"
You put database name - you can create a database using phpMyAdmin and put the same name here
You put database user name - you will get it from the server control panel - usually it is user1234 (user with four numbers) or 'root'
You put database password for user . You will get it from the server control panel. Click 'show password' to reveal it.
But still it is not working. Why??????????
Change the database host name to the internal IP address for the Database. You get this from the server control panel. This will give sure access to the database from your php programme.
Comments