Difference between revisions of "Mysql"
From MyWiki
(One intermediate revision by the same user not shown) | |||
Line 20: | Line 20: | ||
[[ Users ]]<br> | [[ Users ]]<br> | ||
[[ Insert ignore to avoid updating existing record ]] <br> | [[ Insert ignore to avoid updating existing record ]] <br> | ||
+ | [[ Enable MySQL’s slow query log without a restart ]]<br> | ||
+ | [[ Securing mysql with a script ]]<br> |
Latest revision as of 12:15, 28 August 2017
Altering column
Column types
Creating a mysql user
Creating users
Determine which storage engine is being used
Find duplicates
Find the size of mysql database
Selecting into a csv file
Indexes
Selecting a table from a mysqldump file
PHP mysqli_real_escape_string() Function
mysqldump to file with line terminations
mysqldump selecting tables only
Preventing database hanging when using mysqldump
Regular expressions
Setting a prinary key
Setting the root password
Test db for user creation
Update two columns
Users
Insert ignore to avoid updating existing record
Enable MySQL’s slow query log without a restart
Securing mysql with a script