Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (1283 KB)
|
# groupadd mysql # useradd -g mysql mysql # cd /usr/local # gunzip install-dir/mysql-VERSION-OS.tar.gz | tar xvf - # ln -s install-dir/mysql-VERSION-OS mysql # cd mysql # chown -R mysql . # chgrp -R mysql . # scripts/mysql_install_db --user=mysql # chown -R root . # chown -R mysql data # bin/mysqld_safe --user=mysql & * |
Log in to MySQL as the root user.
bin/mysql -u root |
Create the Web Space Server database with UTF-8 support.
create database lportal default character set utf8; use lportal; grant all privileges on lportal.* to 'lportal'@'localhost' identified by 'lportal'; |
This example creates a database and a user, both named lportal, but you can use different database and user names, and these names can be whatever you want.
Proceed to To Connect to a Database Other Than HSQL for additional configuration instructions.