English  中文
Home » Support » Database Access
Our database server is called:  mysql.computersolutions.cn

Clients with Database privileges can use phpMyAdmin to administer their databases within our servers at http://mysql.computersolutions.cn

Example database connection code for php below:



$dbhost = "mysql.computersolutions.cn";
$dbuser = "MYUSERNAME";
$dbpass = "MYPASSWORD";

$link = mysql_connect($dbhost, $dbuser, $dbpass);

if (!$link) {
   die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';

Further reading:  http://cn.php.net/mysql_connect


We currently run MYSQL 5 on our servers.