0

When I run mysqld, it has a whole lot of information about what it's doing.

As I understand, this is not the correct way to run a mysql server and you should use service mysql start instead (on older servers at least).

Any searches for mysqld log come up with logs for queries, I want to know what the program is doing as it starts. (I'm trying to set up mariadb 10.1.14 with galera replication)

I want to be able to run service mysql start and then watch what's happening in the background.

Trav Easton
  • 401
  • 2
  • 6
  • 17
  • You can try running it verbose `mysqld --user=mysql --verbose` – Yuri Jun 28 '16 at 06:41
  • Running `mysqld` shows the correct amount of information. However, I want to see this info after I run `service mysql start`. Service only shows `Starting MySQL....... [FAILED]` – Trav Easton Jun 28 '16 at 07:03
  • Did you check your mysql config file? There you should find your desired log location. [Check this post](http://stackoverflow.com/questions/5441972/how-to-see-log-files-in-mysql) – Yuri Jun 28 '16 at 07:06
  • I have and the config I have doesn't specify where the log should be. Thanks for that, I must have been misinterpreting the error_log to be a query error log. I found it in /var/log/mysqld.log. – Trav Easton Jun 28 '16 at 09:09

0 Answers0