Symptoms
Attempts to manage customer’s MySQL databases produce errors:
Error: Connection to the database server has failed because of network problems: Try to establish connection failed
InetServices offers both Windows and Linux bare metal server hosting, and cloud server hosting for any small to medium size business. We also offer both PCI and HIPAA Compliant servers allowing you to achieve PCI or HIPAA Compliance without all the worries of figuring it out. InetServices offers much more than just dedicated servers and cloud servers, we offer you a complete solution to your hosting needs including Big Data, Disaster Recovery, and High Availability services.
Symptoms
Attempts to manage customer’s MySQL databases produce errors:
Error: Connection to the database server has failed because of network problems: Try to establish connection failed
Log into Plesk control panel on your dedicated or cloud server:
1. Click Websites & Domains
2. Click on Databases
Log into cPanel control panel on your dedicated server:
1. Click the MySQL Databases icon
2. In the box to the right of New Database, please provide a name for the database.
Log into Plesk control panel on your dedicated server:
1. Click Websites & Domains
2. Click on Databases
Run the following command to dump a database:
# mysqldump database_name > Database_name.sql
For example, you want to dump a database called “mydb”.
# mysqldump mydb > mydb.sql
1. # /etc/init.d/mysqld stop
2. Start MySQL server without password:
# mysqld_safe –skip-grant-tables &
Using your favorite text editor, as root, open up the /etc/my.cnf file (the location of the file may vary according to your distribution). You should see something like this:
# vi /etc/my.cnf