On October 23rd, 2014, we updated our
By continuing to use LinkedIn’s SlideShare service, you agree to the revised terms, so please take a few minutes to review them.
ENVIRONMENT Using XAMPP version 1.6.7 (included PHP and MySQL) PHP version 5.2.6 MySQL version 5.0.51b Windows 7 Home as OS Y! : ikhwankrisnadi GTalk: krisnadiikhwan
Y! : ikhwankrisnadi GTalk: krisnadiikhwanSTEPS Prepare MySQL query file For example, add “student” table into “test”
STEPS (CONTINUED) Save the query with named “student.sql” Open phpmyadmin using browser. Check “student” table is not existed on “test” database Y! : ikhwankrisnadi GTalk: krisnadiikhwan
STEPS (CONTINUED) Open command prompt Go to “MySQL” directory installation. For example, “MySQL” directory in C:xamppmysql. Go to bin directory Y! : ikhwankrisnadi GTalk: krisnadiikhwan
STEPS (CONTINUED) Type below: mysql -u [user_name] -p [database_name] < [file path of mysql query] For example: mysql -u root –p test < “C:student.sql” Press enter Y! : ikhwankrisnadi GTalk: krisnadiikhwan
STEPS (CONTINUED) Open phpmyadmin using browser, to check it Y! : ikhwankrisnadi GTalk: krisnadiikhwan