You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would love to see some code that will show how the setup.sql is modified so it works with mysql database.
I know how the controller $db should be
$db= new DB\SQL("mysql:host=".DATABASE_HOST.";port=3306;dbname=".DATABASE_NAME,DATABASE_USER,DATABASE_PASS,
array(PDO::MYSQL_ATTR_LOCAL_INFILE => true,));
$this->db = $db;
But I never used sqlite and spent too much time trying to modify setup.sql to work.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
I would love to see some code that will show how the setup.sql is modified so it works with mysql database.
I know how the controller $db should be
$db= new DB\SQL("mysql:host=".DATABASE_HOST.";port=3306;dbname=".DATABASE_NAME,DATABASE_USER,DATABASE_PASS,
array(PDO::MYSQL_ATTR_LOCAL_INFILE => true,));
$this->db = $db;
But I never used sqlite and spent too much time trying to modify setup.sql to work.
Thanks in advance.
The text was updated successfully, but these errors were encountered: