Return to howtoaddusertolonsql CVS log | Up to [LON-CAPA] / doc |
Harsha's description of who to get a new user like 'www' into MySQL
1: start the mysql daemon as /usr/local/bin/safe_mysqld & 2: login as root: mysql -u root -p 3: enter the password as newmysql 4: add the user www: grant all priveleges on *.* to www@localhost identified by 'newmysql' with grant option; 5: Here the user www has the right to grant privileges to other users. 6: This can be changed if required with a simple update command on the grant tables 7: 8: 9: /home/httpd/perl/perlsql/lonsql 10: /usr/local/mysql/fakeclient 11: 12: