Difference between revisions of "FOG database"

From FOG Project
Jump to: navigation, search
(Created page with "You may access the data base on FOG locally by using: <pre>mysql -u root fog</pre> Or you may allow remote access by issuing this command locally: <pre>MariaDB [fog]> GRANT ...")
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
<pre>mysql -u root fog</pre>
 
<pre>mysql -u root fog</pre>
  
Or you may allow remote access by issuing this command locally:
+
Or you may allow remote access by issuing this command locally (after connecting using the above command):
<pre>MariaDB [fog]> GRANT ALL ON fog.* TO 'fog'@'%' IDENTIFIED BY 'mastiff002';</pre>
+
<pre>GRANT ALL ON fog.* TO 'UsernameHere'@'%' IDENTIFIED BY 'PasswordHere';</pre>

Latest revision as of 12:35, 21 April 2015

You may access the data base on FOG locally by using:

mysql -u root fog

Or you may allow remote access by issuing this command locally (after connecting using the above command):

GRANT ALL ON fog.* TO 'UsernameHere'@'%' IDENTIFIED BY 'PasswordHere';