{"id":1176,"date":"2010-01-08T12:22:02","date_gmt":"2010-01-08T19:22:02","guid":{"rendered":"http:\/\/macblaze.ca\/?p=1176"},"modified":"2010-01-08T19:33:14","modified_gmt":"2010-01-09T02:33:14","slug":"godaddy-hosting-mysql","status":"publish","type":"post","link":"https:\/\/macblaze.ca\/?p=1176","title":{"rendered":"GoDaddy Hosting MYSQL"},"content":{"rendered":"<p>I&#8217;ve added a domain name (<a href=\"http:\/\/macblaze.ca\">macblaze.ca<\/a>) 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<\/p>\n<p>I eventually came across <a href=\"http:\/\/www.dynamicdrive.com\/forums\/showthread.php?t=28635\">this post<\/a> which gave me a working string:<br \/>\n<code><br \/>\n< ?php\n\/\/Sample Database Connection Syntax for PHP and MySQL.\n\n\/\/Connect To Database\n\n\/\/ $hostname=\"your_mysqlserver.secureserver.net\";\n\/\/ $username=\"your_dbusername\";\n\/\/ $password=\"your_dbpassword\";\n\/\/ $dbname=\"your_dbusername\";\n\/\/ $usertable=\"your_tablename\";\n\/\/ $yourfield = \"your_field\";\n\n\/\/ mysql_connect($hostname,$username, $password) \n\/\/ mysql_select_db($dbname);\n\n?><\/code><\/p>\n<p>So far so good?<\/p>\n<p>***<\/p>\n<p>Nope&#8230;<\/p>\n<p>****<\/p>\n<p>AFAIK Dreamweaver just ain&#8217;t gonna work&#8230; sigh&#8230;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;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 [&hellip;]\n<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts\/1176"}],"collection":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1176"}],"version-history":[{"count":0,"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts\/1176\/revisions"}],"wp:attachment":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}