Skip to main content

Questions tagged [mysqld-safe]

The tag has no usage guidance.

0 votes
0 answers
605 views

Restarting mysql after changing the data directory

I tried changing the data directory of mysql following these instructions here. But now I can't get mysql to restart. The last step in the linked article is $ sudo systemctl start mysql But I ...
yaska's user avatar
  • 101
0 votes
0 answers
98 views

Find the reason why mysql root password is reset at ever system boot

Every time when I restart the server, booting the system I have to the following error: database error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I can solve ...
Nusrat Nuriyev's user avatar
4 votes
1 answer
6k views

How do I start mysqld with options

I need to start up mysqld with command line options as from here: http://dev.mysql.com/doc/refman/5.1/en/server-options.html#option_mysqld_skip-grant-tables I normally do sudo service mysqld start, ...
xiankai's user avatar
  • 518
1 vote
2 answers
3k views

MySQL cannot recognize variable on file option

I'm using MySQL 5.6 on Mac OS X 10.8 and trying to configure mysql to log genreral_log into a file. However, it always throws an error when I start it. Here is the .my.cnf file looks like (located at ...
Khanh Tran's user avatar