Messed up big time....
I was attempting to recover some diskspace as described here:
How to shrink/purge ibdata1 file in MySQL
http://stackoverflow.com/questions/3456159/how-to-shrink-purge-ibdata1-file-in-mysql
So I did a mysqldump for all datanbases.
Then I dumped the databases.
The bad news is that deleted the database named "mysql" too :-(
Now I can not reconnect to the server, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' " so I can not restore the dump.
I suppose I have deleted account info etc?!?
The good news is that I have the dump of "--all-databases"
So what are my options? Re-Install MySQL and then import the dump? The MySQL accounts I had where simple so I can easily re-create them.
I was attempting to recover some diskspace as described here:
How to shrink/purge ibdata1 file in MySQL
http://stackoverflow.com/questions/3456159/how-to-shrink-purge-ibdata1-file-in-mysql
So I did a mysqldump for all datanbases.
Then I dumped the databases.
The bad news is that deleted the database named "mysql" too :-(
Now I can not reconnect to the server, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' " so I can not restore the dump.
I suppose I have deleted account info etc?!?
The good news is that I have the dump of "--all-databases"
So what are my options? Re-Install MySQL and then import the dump? The MySQL accounts I had where simple so I can easily re-create them.