GoDaddy Hosting MYSQL
I’ve added a domain name (macblaze.ca) and am currenty hosting it on GoDaddy. What I need is to get the connection string for the mysql set up and Dreaweaver is giving me errors. MYSQL Error #1251
I eventually came across this post which gave me a working string:
< ?php
//Sample Database Connection Syntax for PHP and MySQL.
//Connect To Database
// $hostname="your_mysqlserver.secureserver.net";
// $username="your_dbusername";
// $password="your_dbpassword";
// $dbname="your_dbusername";
// $usertable="your_tablename";
// $yourfield = "your_field";
// mysql_connect($hostname,$username, $password)
// mysql_select_db($dbname);
?>
So far so good?
***
Nope…
****
AFAIK Dreamweaver just ain’t gonna work… sigh….
One thought on “GoDaddy Hosting MYSQL”
Comments are closed.
Why is that comment coming up?