• Home
  • Services
  • About
  • News
  • Blog
  • Contact
  • Email Support
en » Tech Info » Database Access
  • IP Address
  • Server Settings
  • ICP Registration Form
  • Website Statistics
  • Database Access
  • PHP Info

Our database server is 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.

Tips:

  • Passwords must be escaped with \'s if they contain modifier characters.
  • The MySQL Server name is mysql.computersolutions.cn, do not use localhost, it will not work.
  • We make daily backups of databases, and usually keep around 3 months worth of backups.
    Contact us if you've accidentally annihilated all of your valuable data, and need to restore something...
  • PHPMyAdmin access for MySQL is at http://mysql.computersolutions.cn

  • Home
  • Banking Details
  • Services
  • Tech Info
  • Sitemap

©2000-2009 Computer Solutions. All rights reserved. 沪ICP证备案043502号