Your IP : 3.147.77.51
<?php $mysql_hosts = array('mysql-readwrite','mysql-readonly'); $mysql_user = "lhjmq_readonly"; $mysql_pass = "45GhiLk19cQ"; $mysql_db = "lhjmq_pii"; $stat_db = "lhjmqstats_pii"; foreach($mysql_hosts as $mysql_host) { echo "$mysql_host: "; $mysql_link = @mysql_connect($mysql_host, $mysql_user, $mysql_pass); if(! $mysql_link) { echo "FAILED!"; } else { echo 'success'; } echo "<br/>"; } |