|
#1
|
|||
|
|||
|
I have a site, I have the database, I can't get them to connect?
I am working in dreamweaver and trying to set up a testing server from hostgator servers so I can test it locally before I upload... I can't find the database? Where is it on the server and how do I connect? I need help please, this is the first time I've tried to work with mysql and php on a host server other than my local computer. Thank you |
|
#2
|
|||
|
|||
|
First you need to create a database/user via cPanel -> MySQL Databases.
Second you need to connect to the database via PHP script: PHP Code:
Good luck |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Escape: mysql_connect(): Can't connect to local MySQL server through socket | RyanM | Shared Hosting Support | 6 | 10-02-2006 05:45 PM |
| xeoman guestbook/ mysql help needed | marlies63 | Shared Hosting Support | 2 | 01-31-2005 02:42 PM |
| MegaDJ. MySQL can't connect to database error | megadj | Network Status | 4 | 01-27-2005 05:47 PM |
All times are GMT -5. The time now is 05:47 PM.









