Skip to main content

[CPANEL-26532] The user “mysql” cannot write to the configured temporary file directory

Comments

5 comments

  • dalem
    /dev/shm need to be writable check your file permissions ls -l /dev/ | grep shm
    0
  • bethimc
    /dev/shm need to be writable check your file permissions ls -l /dev/ | grep shm

    It is fully writable. drwxrwxrwt 2 root root 40 Mar 27 12:26 shm/
    0
  • cPanelMichael
    Hello @bethimc, Can you open a
    0
  • bethimc
    Hello @bethimc, Can you open a
    0
  • cPanelMichael
    Hello, To update, internal case CPANEL-26532 was opened to report an issue where "The user "mysql" cannot write to the configured temporary file directory" error appears in WHM >> MySQL/MariaDB if you attempt to upgrade and the system's /etc/my.cnf file uses multiple tmpdir values. I'll monitor this case and update this thread with more information as it becomes available. In the meantime, the workaround is to temporarily modify /etc/my.cnf so that only one of the tmpdir values is enabled, restart MySQL, and then proceed with the upgrade. Thank you.
    0

Please sign in to leave a comment.