Help - Search - Members - Calendar
Full Version: Uploading A Database
Zymic Webmaster Forums > Zymic Free Web Hosting > Databases & MySQL
the alternative
this is the code in my connection:

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_online = "localhost";
$database_online = "comx";
$username_online = "root";
$password_online = "";
$online = mysql_connect($username_online, $password_online) or trigger_error(mysql_error(),E_USER_ERROR);
?>

i have already uploaded this one at zymic.com...however, whenever i try to run the pages online, it doesn't go through..i get the following error messages:

Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'root' (4) in /www/uuuq.com/c/o/m/comx-online/htdocs/Connections/online.php on line 9

Fatal error: Can't connect to MySQL server on 'root' (4) in /www/uuuq.com/c/o/m/comx-online/htdocs/Connections/online.php on line 9


i hope to get a reply soon...i need this badly..thanks!

Ed
You need to create a database, a database user and a database password, see here:
http://screencasts.uuuq.com/creating-a-database/
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.