MySQL
This
README file regards MySQL users and this help is all information that I can
give to you!
Installation:
Before you can use MySQL server you may need to install
some standart modules:
First you need: DBI
and also you need MySQL DBD module: MySQL
After successful installation please run 'mysql' client with your adminstrator
user and make new user for your webtools project (or use some other old user):
> mysql -u root_user -p
mysql> use mysql;
mysql> insert into user values ('localhost', 'webtools_user',
password('its_password'),
'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N');
mysql> exit
> mysqladmin reload
> cd to_your_webtools_db_strutures_directory
Now, edit 'mysql-webtoolsdb.sql' (please coordinate
information from 'config.pl' and 'mysql-webtoolsdb.sql'
file).
Now you can create structure needed by webtools:
> mysql -u webtools_user -p <
mysql-webtoolsdb.sql
Well database is ready! Now don't forget to configure
follow sections of 'config.pl':
#[Name_Of_Project]
$projectname = 'webtools'; #
Name of project! (be careful!)
#[SQL]
$db_support = 'db_mysql'; # MySQL
driver.
$sql_host = 'localhost'; #
Your address to SQL server.
$sql_port = '3306'; #
Your port of SQL server.
$sql_user = 'webtools_user';
# using user
$sql_pass = 'its_password';
# and password
$mysqlbequiet = '1';
# MySQL be QUIET?
#[DataBase]
$sql_database_sessions = $projectname.'db';
# Database name.
$sql_sessions_table = $projectname.'_sessions';
# Session table.
$sql_user_table = $projectname.'_users'; #
Contain all users (and admin too).
Evrything
is ok and now you can run your tests/examples...enjoy!
Author:
julian@proscriptum.com