Re: Unable to create a database due to syntax error
Is line 11 this one?
$conn = new PDO("mysql:host='localhost';dbname='myDBPDO'", "root", "patony";
As already explained in another thread on this subject, the right side is missing a closing parenthesis.
Subject
Written By
Posted
September 11, 2016 04:05AM
Re: Unable to create a database due to syntax error
September 11, 2016 01:17PM
September 13, 2016 09:51AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.