To solving such problem out you need to prof recovery software.
I would recommend you tool below finds out/opens/scans and repairs mysql troubles.
This is an error in MySQL that occur due to various reasons: MySQL database has been corrupted. Wrong database credentials. MySQL Server (Web Host) is not responsive. But the most common reason of this error is database corruption and for fixing the error occured because of this reason you can make use of a tool named Stellar Repair for MySQL that safely restores all inaccessible database objects including primary keys, views, triggers, tables, etc. in the original format. The tool also provides preview of recoverable database objects in main interface. You can fix this error easily using this tool for free from Stellar's Official Site.
It would mean the database you are trying to select in your PHP script couldn't be found, you will need to check to see if you are using the correct details.
Here is how you establish connection to mysql server & create a database in mysql <?php // Note that username, client host & passwords may vary $host = "localhost"; $user = "root"; $password = ""; $con = mysql_connect($host,$user,$password); if(!$con) { // Warns for connection failure die("Failure in establishing connection: ".mysql_error()); } $db = "CREATE DATABASE employees"; // Use any name for database $create = mysql_query($db, $con); if(!$create) { echo "Error creating database: ".mysql_error(); } ?>
You got an error writing communication packets. Make use of application below to fix mysql errors
There is a special cream for that. Just tell the person working at the pharmacy counter you have a MySQL syntax error and they will point you in the right direction.
Error 1045 is access denied with username/password. So you either have the username or password incorrect. It is possible, also, that you are trying to connect from a remote machine to a database to which remote access privilege has not been granted.
Make sure that the MySQL server is running.
encountered
Here's the code. This is a simple code to connect to mysql. Bare in mind PHP can connect to other database also. I am assuming you have the database and datatables in place
Wordpress is an excellent way to develop a user-friendly website for any industry. There are several opportunities when the user has to face technical issues. Error Establishing Database Connection is a commonly known error by end-users that creates unidentified conditions while working within the estimates of CMS. Inaccurate database information, unidentified database credentials, the corrupted or irresponsive database server can be responsible for the error. Here are five different ways you can implement to recover the problem:Understand the problem- It might be due to inaccurate credentials, corrupted wordpress file, database server down.Connect with hosting service providerCheck theme or plugin to corruptionCheck connections of databaseRestore wordpress filesTo avoid future errors, you need to take care of quality hosting and maintain backup.Click here to more info: http s://wordpresserror500 .com/error-establishing-database-connection-in-wordpress/
i dont know do I
you can't sorry