here"s the thing.
I have XAMPP, installed on local localhost, he installs mysql and phpmyadmin
I have manual installation of mysql in linode
this person has a different number of databases
, but I all connect in the same way
$servername = "localhost";
$username = "root";
$password = "xxx";
$mysqldb = "xxx_db";
so when I check the web on linode, he will receive his own mysql
, but when I am on localhost, he will receive xampp"s mysql
what I want to do now is:
I want localhost to connect to mysql when it connects to linode"s mysql instead of xampp"s
so what configuration should I make on linode and localhost to implement?
I added a user ID to linode"s mysql.
the hostname is IP
, but I still can"t.
mysqli::__construct(): (HY000/2002): Operation timed out in /xxx/xxx/xxx.php on line 17
Error: Operation timed out
charge
but it still doesn"t work.