-
Notifications
You must be signed in to change notification settings - Fork 88
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
Array offset error occurred when reading username and password #5
Comments
Looks like you need to fully qualify your table name: [database].[table] E.g: webshop.customers or webshop.orders etc... I'll add in some better docs and error handling for this... Thanks for the feedback! :) |
Thanks for the rapid reply. I think it's going to work out by taking your suggestions. I'll give it a try! :) |
$dbh = new PDO('mysql:host=localhost;dbname=db_timesheet', 'root', ''); An uncaught Exception was encountered Message: The table db_timesheet.db_timesheet.test_table does not have a primary key Filename: /opt/lampp/htdocs/timesheet/application/vendor/mrjgreen/db-sync/src/DbSync.php Line Number: 65 Backtrace: File: /opt/lampp/htdocs/timesheet/application/controllers/Aot.php File: /opt/lampp/htdocs/timesheet/index.php |
What should I do? I just ran like:
But, got an error:
The text was updated successfully, but these errors were encountered: