Top "Mysql" questions

MySQL is a free, open source Relational Database Management System (RDBMS) that uses Structured Query Language (SQL).

Which MySQL data type to use for storing boolean values

Since MySQL doesn't seem to have any 'boolean' data type, which data type do you 'abuse' for storing true/false …

mysql boolean sqldatatypes
"INSERT IGNORE" vs "INSERT ... ON DUPLICATE KEY UPDATE"

While executing an INSERT statement with many rows, I want to skip duplicate entries that would otherwise cause failure. After …

mysql insert
grant remote access of MySQL database from any IP address

I am aware of this command: GRANT ALL PRIVILEGES ON database.* TO 'user'@'yourremotehost' IDENTIFIED BY 'newpassword'; But then it …

mysql grant
PDOException “could not find driver”

I have just installed Debian Lenny with Apache, MySQL, and PHP and I am receiving a PDOException could not find …

php mysql pdo lamp
MySQL query String contains

I've been trying to figure out how I can make a query with MySQL that checks if the value (string $…

php mysql sql string-comparison
How do I restore a dump file from mysqldump?

I was given a MySQL database file that I need to restore as a database on my Windows Server 2008 machine. …

mysql sql database
How to change max_allowed_packet size

I am having a problem with BLOB fields in my MySQL database - when uploading files larger than approx 1MB …

mysql
SQL query return data from multiple tables

I would like to know the following: how to get data from multiple tables in my database? what types of …

mysql sql select
MySQL date format DD/MM/YYYY select query?

I'm a bit confused on how to order by date formats. For the format YYYY-MM-DD you would do this: ...ORDER …

mysql
Inserting multiple rows in mysql

Is the database query faster if I insert multiple rows at once: like INSERT.... UNION INSERT.... UNION (I need to …

mysql sql-insert