Tuesday, August 18, 2009

pake mysql consule di CMD

tadi ku bingung sendiri karena tidak tau bagaimana mysql tanpa gui...tanya ma teman yang jago php,dia juga tidak tau mungkin dia lupa..setelah nyari di paman google akhirnya ku menemukan juga..mysql tanpa gui.^_^maklum belajar jangan di ledekin ya...

ternyata simple banget

Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\andia>mysql -uroot -paryandie
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 11
Server version: 5.0.45-community-nt-log MySQL Community Edition (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| celcom |
| daftar |
| mysql |
| phpmyadmin |
| test |
| use celcom |
+--------------------+
7 rows in set (0.17 sec)

mysql> use celcom;
Database changed
mysql>


senang nya walau terlihat gampang,tapi ku senang ^__^

No comments: