How to create a database application with senayan Library
>> Wednesday, March 30, 2011
Create a database "senayan" in MySQL. You can use the command-line tools or PhpMyAdmin.
If using a command-line, log into the mysql interface (with a user who has the right to create databases) first:
shell> mysql-u root-p
Then type in your mysql password. After successful login, type:
mysql> CREATE DATABASE senayan;
Senayan To see if the database has been created, type:
mysql> SHOW DATABASES;
Exit from mysql interface by typing:
mysql> QUIT
When using phpMyAdmin, after login, type the name of the database to be created in the Create new database column. Then click Create.
If using a command-line, log into the mysql interface (with a user who has the right to create databases) first:
shell> mysql-u root-p
Then type in your mysql password. After successful login, type:
mysql> CREATE DATABASE senayan;
Senayan To see if the database has been created, type:
mysql> SHOW DATABASES;
Exit from mysql interface by typing:
mysql> QUIT
When using phpMyAdmin, after login, type the name of the database to be created in the Create new database column. Then click Create.
0 comments:
Post a Comment