1. Pergi ke Start Menu > Run > taip "services.msc" [Enter]
2. Paparan seperti di bawah akan terhasil
3. Pilih MySQL (1) kemudian klik butang "Start Services"(2). Jika dah start, tak perlu buat apa2
4. Pergi semua ke Start Menu > Run > taip "cmd" [Enter]
5. Lakukan arahan berikut pada paparan DOS
C:\mysql\bin>mysql -u root -p Enter password: ****** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 4 to server version: 5.0.26-community-nt Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql>use dahlia; Database changed mysql> |
Jika semasa install tidak di setkan username dan password, cuma taipkan mysql sahaja tanpa di ikuti dgn "-u root -p".
0 comments:
Post a Comment