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

Set mysql password after installation

Scheduled Pinned Locked Moved
FOG Problems
4
4
1.7k
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.
  • W
    Warrender
    last edited by Dec 12, 2013, 7:50 PM

    Hello,

    i didn´t set the mysql password during the fog-installation on ubunt 12.04. How can i set it now?
    Thanks!

    1 Reply Last reply Reply Quote 0
    • A
      albero
      last edited by Dec 12, 2013, 9:44 PM

      Hello Warrender,

      Are you trying to set the password for the mysql database or does your mysql database already have a password and you are trying to configure FOG to work with that password?

      albero

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Dec 12, 2013, 10:19 PM

        If you’re trying to add a password to your non-passworded mysql use this command:

        [code]mysqladmin -u root password ‘PASSWORD’[/code]

        Of course change PASSWORD with your password. If you’re going to use special characters such as !@#$%^&*() You’ll need the quotes.

        If you’re trying to change a password to a passworded mysql use this command:
        [code]mysqladmin -u root -p’OLDPASSWORD’ password ‘NEWPASSWORD’[/code]

        Changing OLDPASSWORD and NEWPASSWORD to their respective passwords.

        Hope this helps.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        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
        • C
          chad-bisd Moderator
          last edited by Dec 18, 2013, 4:40 PM

          after you add a root password to mysql, read the wiki article on updating FOG to use the new password when accessing the database, otherwise FOG may quit working until you update the config files.


          If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

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

          159

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project