Microsoft
Software
Hardware
Network
Question : Where is mysql using my drive space?
Mysql seems to 8GB of data.
du -hs /var/lib/mysql/
8.1G /var/lib/mysql/
Problem is I need that space, and I can't figure out what uses all of it.
All databases I have should be really small, which I try to prove below
$ mysqldump -u root -p --all-databases > alldatabases.sql
Enter password:
$ ls -lh alldatabases.sql
-rw-r--r-- 1 aegir aegir 32M Jul 3 14:41 alldatabases.sql
So why does mysql have a number of gigabyte-sized mysqld-bin.xxxxxx?
# du -hsm /var/lib/mysql/* | sort -n | tail
92 /var/lib/mysql/mysqld-bin.
000105
274 /var/lib/mysql/mysqld-bin.
000121
682 /var/lib/mysql/mysqld-bin.
000116
761 /var/lib/mysql/mysqld-bin.
000102
928 /var/lib/mysql/mysqld-bin.
000120
1026 /var/lib/mysql/mysqld-bin.
000112
1026 /var/lib/mysql/mysqld-bin.
000113
1026 /var/lib/mysql/mysqld-bin.
000114
1026 /var/lib/mysql/mysqld-bin.
000115
1026 /var/lib/mysql/mysqld-bin.
000119
Answer : Where is mysql using my drive space?
Try this commands (from MySql server command line):
flush logs;
reset master;
You can also disable mysqld-bin logs in commenting out log-bin in conf file
Random Solutions
What else is required to allow user to set clock in Windows 7, local administrator is already granted.
Cisco 1811 Wireless Connection Issues
WEBSERVER SECURITY
DB2 Equivalent of CINT & REPLACE
Can I restore MOSS 2007 single site more than once?
On Cisco Hybrid 6509 with CATOS/IOS, how do you browse the const_nvram: to check vlan.dat file?
Incoming spam
How can I create logs in to separate files for multiple applications deployed on the same instance of OC4J?
Teaming NICs
The statement terminated. The maximum recursion 100 has been exhausted before statement completion