Note that there are some explanatory texts on larger screens.

plurals
  1. POConstant #1064 error on everything I do in mySQL through phpMyAdmin
    primarykey
    data
    text
    <blockquote> <h1>1064 - You have an error in your SQL syntax</h1> </blockquote> <p>I've just done a fresh install of XAMPP and configured the usernames and passwords for phpMyAdmin and mySQL. So far so good, no errors and all working fine. But when I go to create a new database, create a new table, or even drop a table it always comes up with the #1064 Error message.</p> <p>Error when dropping a database:</p> <blockquote> <p>SELECT MAX( version ) FROM.WHERE <code>db_name</code> = 'new_database_test' AND <code>table_name</code> = '' AND FIND_IN_SET( 'DROP DATABASE', tracking ) >0</p> <p>MySQL said: </p> <p>#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE <code>db_name</code> = 'new_database_test' AND <code>table_name</code> = '' AND FIND_IN_SET('D' at line 1</p> </blockquote> <p>Error when creating a database:</p> <blockquote> <blockquote> <p>SQL query: Edit</p> <p>SELECT MAX( version ) FROM.WHERE <code>db_name</code> = 'new_test_db' AND <code>table_name</code> = '' AND FIND_IN_SET( 'CREATE DATABASE', tracking ) >0</p> <p>MySQL said: </p> <p>#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE <code>db_name</code> = 'new_test_db' AND <code>table_name</code> = '' AND FIND_IN_SET('CREATE ' at line 1</p> </blockquote> </blockquote> <p>Error when adding a table:</p> <blockquote> <p>SQL query: Edit</p> <p>SELECT MAX( version ) FROM.WHERE <code>db_name</code> = 'new_test_db' AND <code>table_name</code> = 'awesome_table' AND FIND_IN_SET( 'CREATE TABLE', tracking ) >0</p> <p>MySQL said: </p> <p>#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE <code>db_name</code> = 'new_test_db' AND <code>table_name</code> = 'awesome_table' AND FIND_IN' at line 1</p> </blockquote> <p>Despite the errors it's showing the databases are getting created and dropped. But when I try to create a table it simply creates an empty table instead of including any of the columns I wanted.</p> <p>Anybody have any idea how to fix this? I'm completely new to both mySQL and phpMyAdmin, so don't really know where to begin.</p> <p>Thanks.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload