If you use xampp, type
>> mysql_start.bat // in command prompt
After the MySQL server running, type
>> mysql -u root
or
>> mysql -u root -p // with password
After you are login, select create a database
mysql> create database satu;
then
mysql> use satu;
When you want to quit, type
mysql> quit
and shut down mysql_server
>> mysql_stop.bat
No comments:
Post a Comment