Rename, move, resort the files of project
[sandbox.git] / test_mysql.php
blob37379c6f8bdf8d3f726a8fe472bb1d6108ded9bd
1 <?php
2 header('Content-Type: text/html; charset=UTF-8');
4 $host = 'localhost';
5 $dbadmin = 'root';
6 $dbpasswd = 'sysadmin';
8 $ok = mysql_connect($dbname, $dbadmin, $dbpasswd) or die('Connected failure.' . '<br />' . mysql_error());
9 if ($ok) echo 'Has successfully connected.';