Troubleshooting of MySQL errors: Difference between revisions

Jump to navigation Jump to search
Line 450: Line 450:
* Number of question marks is not matched with the number of query values <ref>[https://stackoverflow.com/questions/10966251/sqlstatehy093-invalid-parameter-number-parameter-was-not-defined php Invalid parameter number: parameter was not defined - Stack Overflow]</ref>
* Number of question marks is not matched with the number of query values <ref>[https://stackoverflow.com/questions/10966251/sqlstatehy093-invalid-parameter-number-parameter-was-not-defined php Invalid parameter number: parameter was not defined - Stack Overflow]</ref>
* The array of query values should not be the associative array. Use sequential array!
* The array of query values should not be the associative array. Use sequential array!
== ERROR 1052 - Column 'column_name' in field list is ambiguous ==
Message: Error Code: 1052. Column 'column_name' in field list is ambiguous
Cause: Since 'column_name' is present in 2 or more tables ...<ref>[https://stackoverflow.com/questions/19351633/error-code-1052-column-admin-id-in-field-list-is-ambiguous mysql - Error Code: 1052 Column 'admin_id' in field list is ambiguous - Stack Overflow]</ref>
Solution: Remain only one table name 'column_name' OR adding the table name alias.


== Connection and Network Errors ==
== Connection and Network Errors ==

Navigation menu