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

1Login as root.

2Enter 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 rootshell> chown -R mysql data shell> chgrp -R mysql

217