{"id":6552,"date":"2014-04-20T08:49:44","date_gmt":"2014-04-20T08:49:44","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/20\/webmatrix-fails-to-connect-php-to-mysql-collection-of-common-programming-errors\/"},"modified":"2014-04-20T08:49:44","modified_gmt":"2014-04-20T08:49:44","slug":"webmatrix-fails-to-connect-php-to-mysql-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/20\/webmatrix-fails-to-connect-php-to-mysql-collection-of-common-programming-errors\/","title":{"rendered":"Webmatrix fails to connect PHP to MySQL-Collection of common programming errors"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I&#8217;m totally new to PHP, SQL,\u00a0and web developing in genral.<\/p>\n<p>I started off with downloading latest versions of PHP, Webmatrix (Webmatrix2)\u00a0and MySQL Server (5.1), and got stuck at the point where I need to use a table (Data Base): for some reason I fail to connect to MySQL.<\/p>\n<ol>\n<li>I downloaded a PHP-MySQL Connector: http:\/\/dev.mysql.com\/downloads\/connector\/php-mysqlnd\/\u00a0&#8211;\u00a0 &#8220;MySQL Connector Net 6.5.4&#8221;<\/li>\n<li>In Webmatrix, in the &#8220;Databases&#8221; Workspace I pressed &#8220;New Connection&#8221; button and choose &#8220;MySQL Connection&#8221;<\/li>\n<li>In the Dialog box I filled-in all connection details<\/li>\n<\/ol>\n<p>&#8211;&gt; It looks like the database was added (on the left).<\/p>\n<p>But then when I double-click on the database, I get a short error message saying it\u00a0fails to\u00a0connect.<\/p>\n<p>I tried everything, searched the web&#8230; I&#8217;m sure it&#8217;s a very simple question, so please whoever can help I&#8217;ll be grateful. I think best solution for me would be if someone could please just give me a link to download of: Webmatrix,MySQL,Connector; and instructions on how to install and then how to connect. This would be the safest way to help me.<\/p>\n<p>Thanks a lot in advance,<\/p>\n<p>Roni<\/p>\n<p>roniz5@yahoo.com<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, I&#8217;m totally new to PHP, SQL,\u00a0and web developing in genral. I started off with downloading latest versions of PHP, Webmatrix (Webmatrix2)\u00a0and MySQL Server (5.1), and got stuck at the point where I need to use a table (Data Base): for some reason I fail to connect to MySQL. I downloaded a PHP-MySQL Connector: http:\/\/dev.mysql.com\/downloads\/connector\/php-mysqlnd\/\u00a0&#8211;\u00a0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6552","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6552"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6552\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}