Advertisement
Guest User

50-mysqld_safe.cnf

a guest
Oct 30th, 2021
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.10 KB | None | 0 0
  1. # NOTE: This file is read only by the traditional SysV init script, not systemd.
  2. # MariaDB systemd does _not_ utilize mysqld_safe nor read this file.
  3. #
  4. # For similar behaviour, systemd users should create the following file:
  5. # /etc/systemd/system/mariadb.service.d/migrated-from-my.cnf-settings.conf
  6. #
  7. # To achieve the same result as the default 50-mysqld_safe.cnf, please create
  8. # /etc/systemd/system/mariadb.service.d/migrated-from-my.cnf-settings.conf
  9. # with the following contents:
  10. #
  11. # [Service]
  12. # User=mysql
  13. # StandardOutput=syslog
  14. # StandardError=syslog
  15. # SyslogFacility=daemon
  16. # SyslogLevel=err
  17. # SyslogIdentifier=mysqld
  18. #
  19. # For more information, please read https://mariadb.com/kb/en/mariadb/systemd/
  20. #
  21.  
  22. [mysqld_safe]
  23. # This will be passed to all mysql clients
  24. # It has been reported that passwords should be enclosed with ticks/quotes
  25. # especially if they contain "#" chars...
  26. # Remember to edit /etc/mysql/debian.cnf when changing the socket location.
  27. #socket         = /var/run/mysqld/mysqld.sock
  28. socket = /media/pi/DBDRIVE/MariaDB/mysqld.sock
  29.  
  30. nice            = 0
  31. skip_log_error
  32. syslog
  33.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement