Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL - Connection String #21

Open
shanejordan opened this issue Jul 20, 2011 · 0 comments
Open

MySQL - Connection String #21

shanejordan opened this issue Jul 20, 2011 · 0 comments

Comments

@shanejordan
Copy link

All of the database is written using PDO, however the MySQL connection is not established with PDO. By not having a PDO connection, the prepare method keeps throwing an error.

In lib/db.php the connection for MySQL should be:

$this->connection = new PDO("mysql:host=$this->host;dbname=$this->db", $this->username, $this->passwd);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant