User's Manual
217
HP Device Manager User Manual
APPENDIX B Installing &
Running MySQL
This appendix describes how to install and run MySQL.
Installing MySQL on Linux-based Servers
1 Login as root.
2 Enter the following commands:
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell>
gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
shell> scripts/mysql_install_db
shell> chown -R root
shell> chown -R mysql data
shell> chgrp -R mysql