All standart Linux servers are using remote MySQL servers (not situated locally), and accessible by using this settings,
Hostname:mysql (if "localhost" is being used then database won't be functioning).
The port for databases is 3306
Settings example:
$hostname = ("mysql");
$link = mysql_connect("mysql","user","password");
KB Admin
Comments