Installation - Upgrade: Difference between revisions

Jump to navigation Jump to search
m
Line 38: Line 38:
Once in Mysql interface, run the SQL command to modify the root password:
Once in Mysql interface, run the SQL command to modify the root password:
<source lang="sql">
<source lang="sql">
grant all privileges on *.* to root@'localhost' identified by 'dolibarrownerpass' with grant option;       
grant all privileges on *.* to root@'localhost' identified by 'newrootpass' with grant option;       
</source>
</source>
Then enter and \q to quit.
Then enter and \q to quit.
Line 46: Line 46:
mysql -u root -p
mysql -u root -p
</source>
</source>
And type your password ''dolibarrownerpass'' then \q to quit if connexion has been successfull.
And type your password ''newrootpass'' then \q to quit if connexion has been successfull.


For Linux users, if you have just installed PostgresSQL, you must run the following command to initialize an admin user and password. For this, add the following line in file '''/etc/postgresql/x.x/main/pg_hba.conf''' (replace x.x with your postgres version)
For Linux users, if you have just installed PostgresSQL, you must run the following command to initialize an admin user and password. For this, add the following line in file '''/etc/postgresql/x.x/main/pg_hba.conf''' (replace x.x with your postgres version)

Navigation menu