What is the connection between PHP and MYSQL?

want to check
I have a problem with MYSQL now
I have installed XAMPP
so my localhost already has a phpmyadmin
, but I also have mysql and phpmyadmin
installed on my other host (linode), so this is another MYSQL
want to check
if I want localhost to be able to access MYSQL on my linode (get data, etc.) and I don"t want to use local MYSQL
how can this be achieved?

Mar.11,2021

mysql_connect(linodeservername,linodeusername,linodepassword);

ip+ port number of linode. Default should be port 3306
try the link


mysql and change bindip


the same as your usual local database

another is that you need the permission of remote links owned by your mysql account on linode

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35b90-2bfbd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35b90-2bfbd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?