Uploading A Database, sql and phpmyadmin |
||
Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.
In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.
Zymic Webmaster Forums Zymic Free Web Hosting Databases & MySQL |
||
![]() |
Uploading A Database, sql and phpmyadmin |
||
Jun 27 2009, 03:51 PM
Post
#1
|
|
![]() Newbie ![]() Group: Members Posts: 1 Joined: 16-May 09 Member No.: 95,281 |
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! |
|
|
Jun 27 2009, 05:25 PM
Post
#2
|
|
![]() Outrageously Uber Ninja ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrators Posts: 2,529 Joined: 11-March 07 From: UK Member No.: 9 |
You need to create a database, a database user and a database password, see here:
http://screencasts.uuuq.com/creating-a-database/ |
|
|
![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users) |
||
| 0 Members: | ||
Forum Jump |
||
| Lo-Fi Version | Time is now: 22nd November 2009 - 03:46 AM |