Top "Mysql" questions

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

How does MySQL CASE work?

I know that SQL's CASE syntax is as follows: CASE WHEN search_condition THEN statement_list [WHEN search_condition THEN …

mysql case
Working around MySQL error "Deadlock found when trying to get lock; try restarting transaction"

I have a MySQL table with about 5,000,000 rows that are being constantly updated in small ways by parallel Perl processes …

mysql deadlock database-deadlocks
How to select the most recent set of dated records from a mysql table

I am storing the response to various rpc calls in a mysql table with the following fields: Table: rpc_responses …

mysql sql date greatest-n-per-group
MySQL - Trigger for updating same table after insert

Here's what I'm trying to do: When there's a new INSERT into the table ACCOUNTS, I need to update the …

mysql database-trigger
MySQL : transaction within a stored procedure

The basic structure of my stored procedure is, BEGIN .. Declare statements .. START TRANSACTION; .. Query 1 .. .. Query 2 .. .. Query 3 .. COMMIT; END MySQL version: 5.1.61…

mysql sql stored-procedures transactions
How do I check if an index exists on a table field in MySQL?

I've needed to Google this a couple times, so I'm sharing my Q/A.

mysql indexing
#1227 - Access denied; you need (at least one of) the SUPER privilege(s) for this operation

Hello, I am currently having an issue with MySQL! What's going wrong here? I am a cPanel user, and yes …

mysql cpanel
mysqldump with create database line

I'm in the process of moving my files onto another computer, and one thing I would like to do is …

mysql database backup mysqldump
MySQLi count(*) always returns 1

I'm trying to count the number of rows in a table and thought that this was the correct way to …

php mysql mysqli
Sqlite or MySql? How to decide?

Any good rules of thumb on how to decide which of the two to use? And, if you take over …

mysql database sqlite