Top "Mysql" questions

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

PHPExcel and Text Wrapping

I know that this line of code will make the cell text-wrap: $objPHPExcel->getActiveSheet()->getStyle('D1')…

php mysql database phpexcel
SQL: deleting tables with prefix

How to delete my tables who all have the prefix myprefix_? Note: need to execute it in phpMyAdmin

mysql phpmyadmin sql-drop
MySQL: Alternatives to ORDER BY RAND()

I've read about a few alternatives to MySQL's ORDER BY RAND() function, but most of the alternatives apply only to …

sql mysql random sql-order-by
Mysql + php with special characters like '(Apostrophe) and " (Quotation mark)

I have been struggling with a small problem for a while. It's been there for years but it's just been …

php mysql sql apostrophe
Phpmyadmin doesn't show "privileges" tab

I have WAMP installed on Windows, and I can't seem to get the "privileges" tab to show in PhpMyAdmin no …

mysql phpmyadmin wamp privileges
Is there a way to retrieve the autoincrement ID from a prepared statement

Is there a way to retrieve the auto generated key from a DB query when using a java query with …

java mysql prepared-statement auto-increment
mysql check collation of a table

How can I see what collation a table has? I.E. I want to see: +-----------------------------+ | table | collation | |-----------------------------| | t_…

mysql collation
"Invalid parameter number: parameter was not defined" Inserting data

UPDATE I was making a petty mistake when listing the VALUES. I should have put ":username" and not ":alias". I …

php mysql parameters yii
How to find duplicates in 2 columns not 1

I have a MySQL database table with two columns that interest me. Individually they can each have duplicates, but they …

mysql duplicates
MySQL: Sort GROUP_CONCAT values

In short: Is there any way to sort the values in a GROUP_CONCAT statement? Query: GROUP_CONCAT((SELECT GROUP_…

mysql sorting sql-order-by group-concat