• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Mysql after do-release-upgrade

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    2
    4
    547
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jmeyer
      last edited by jmeyer

      Hello,

      it seems that mysql have been remove after a do-release-upgrade between Ubuntu 16.04.6 LTS and Ubuntu 18.04.3 LTS.

      On GUI, I have : Database connection unavailable
      

      With SSH, I have :

      root@fogserver:~/fogproject/bin# mysql -u root
      ERROR 1524 (HY000): Plugin 'unix_socket' is not loaded
      

      During FOG reinstall :

      * Installing package: mariadb-client..........................Failed! (Will try later)
      * Installing package: mariadb-server..........................Failed! (Will try later)
      
      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @jmeyer said:

        it seems that mysql have been remove after a do-release-upgrade between Ubuntu 16.04.6 LTS and Ubuntu 18.04.3 LTS.

        While it might seem like it’s lost I don’t think it’s entirely gone. Even Ubuntu wouldn’t just delete all your database files.

        Probably this will help: https://forums.fogproject.org/topic/13492/fog-1-5-7-update-database-issue

        Run ls -al /var/lib/mysql* and post output here.

        During FOG reinstall :

        • Installing package: mariadb-client

        You have read the important notice here: https://forums.fogproject.org/topic/13488/fog-1-5-7-officially-released

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        J 1 Reply Last reply Reply Quote 0
        • J
          jmeyer @Sebastian Roth
          last edited by

          @Sebastian-Roth As I was running a VM, i have restore snapshot and restart the process.
          First, i updated last GIT version then do the OS upgrade.
          SQL hasn’t been touch this way and everything works fine.

          Could FOG install tried to install mariadb over mysql since I was under version 18.04 or is there a check of running SQL server type (if it’s mysql or mariadb) ?

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            @jmeyer There is no real check. At the moment we install mariadb on fresh installs but stick to mysql on upgrades (which is set in /opt/fog/.fogsettings) because Ubuntu does not properly migrate your database from mysql to mariadb yet (while Debian has long ago).

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            212

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project