Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 654 Vote(s) - 3.48 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Job for mysqld.service failed See "systemctl status mysqld.service"

#21
In my particular case, the error was appearing due to missing `/var/log/mysql` with `mysql-server` package 5.7.21-1 on Debian-based Linux distro. Having ran `strace` and `sudo /usr/sbin/mysqld --daemonize --pid-file=/run/mysqld/mysqld.pid` ( which is what the `systemd` service actually runs), it became apparent that the issue was due to this:

2019-01-01T09:09:22.102568Z 0 [ERROR] Could not open file '/var/log/mysql/error.log' for error logging: No such file or directory

I've recently removed contents of several directories in `/var/log` so it was no surprise. The solution was to create the directory and make it owned by `mysql` user as in

$ sudo mkdir /var/log/mysql
$ sudo chown -R mysql:mysql /var/log/mysql

Having done that I've happily logged in via `sudo mysql -u root` and greeted with the old and familiar `mysql>` prompt
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through