The
Specification of the Database Server for CS4421
The
account name, password and the database name are all same as your account name
on the lab machines.
You
should change your password as soon as you can.
1. Use command line tool mysql
% mysql -h orion.csl -uuid -p
mysql> quit
% mysql -h orion.csl
-uuid -p defaultdatabase
2. Use web tool phpMyAdmin
open http://orion.csl.mtu.edu/phpMyAdmin/
type in your database username and password
3. Use MySql
Workbench
%mysql-workbench
You can do QUERY, model and Database administrator work
Dbartisan
Toad
WinSQL
Note:
to use mysql-workbench is available on Windows. You
may install it on your personal computer.
mysql> set password=password("cs4421");
Tutoring link: http://dev.mysql.com/doc/refman/5.1/en/tutorial.html
More reference link: http://dev.mysql.com/doc/refman/5.1/en/
Under
your home directory, create a directory named .WWW-orion (don’t forget the starting . ) with read and
executable permission to the other users.
Then
put your files under .WWW-orion with appropriate
permission.
Your
personal web page can be accessed with url
http://orion.csl.mtu.edu/~uid
PHP
PHP
version 5.3.2 is installed and enabled to use with Apache 2.0, the web server.
Check
http://orion.csl.mtu.edu/~ruihong/test.php
for details.
JDBC
$CLASSPATH should contain
the Mysql Java connector driver /usr/share/java/mysql-connector-java.jar