root bin
Showing posts with label
mysql
.
Show all posts
Showing posts with label
mysql
.
Show all posts
Tuesday, 26 May 2015
a working my.cnf for Mariadb
›
# # The MySQL database server configuration file. # [client] port = 3306 socket = /var/run/mysqld/mysqld.sock [mysqld_safe] socket ...
Tuesday, 20 January 2015
Simple bash command to convert all tables in a mysql database to utf8
›
for t in $ ( mysql -- user = root -- password = admin -- database = DBNAME - e "show tables" ;); do echo "...
Saturday, 26 April 2014
Delete dupicate entries in mysql table
›
CREATE TABLE wpdb.wp_posts_deduped like wpdb.wp_posts; INSERT wpdb.wp_posts_deduped SELECT * FROM wpdb.wp_posts GROUP BY post_content, post...
Find mysql database and tabe size
›
These queries are very useful to find bloated databases/tables: Show size of all databases (in MB) SELECT s.schema_name, SUM(t.data_...
Saturday, 8 June 2013
Slow query log parser
›
A very nice MySQL log analyzer tool from Percona #!/usr/bin/perl # # Nathanial Hendler # http://retards.org/ # # 2001-06-26 v1.0 # # ...
Tuesday, 1 January 2013
Query cache check
›
mysql> show status like 'qc%'; +-------------------------+----------+ | Variable_name | Value | +-------------------------+----...
Sunday, 27 November 2011
reset MySQL password
›
Many suggested solutions did not work. But this one does the job First You have to Stop mysql server: service mysqld stop Now Star...
›
Home
View web version