MySQL Server on UNIX or more specifically HP-UX
Discussion
Right....I've managed to install it from the depot but I can't get the sodding thing to run. I've run the post install script but I'm really having no luck and have no idea what I'm actually meant to be doing!
Could anyone help maybe with a step by step bunch of instructions....!?
Thank!
Could anyone help maybe with a step by step bunch of instructions....!?
Thank!
Assuming its the same as on *nix said:
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 .
/usr/local/mysql/bin/mysqladmin -u root password <password>
/usr/local/mysql/bin/mysqladmin -u root -h `hostname` password <password>
shell> bin/mysqld_safe --user=mysql &
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


