Skip to content

Counter: Counter Powered by  RedCounter Categories:

IMPORT OR EXPORT DATABASE

Cara mengimport dan export database dan table dengan script atau biasayang di sebut dumping database. Emang ini kelihatan nya susah dan ribet, tapi perlu di ketahui kalo menggunakan script justru lebih bagus untuk keamanan data yang kita import atau export.
Brikut ini adalah script import or export database….

Import database
=> mysql -h host -u user -ppassword databasename < D:file.sql
Import table
=> mysql -h host -u user -ppassword databasename < D:file.sql
Export databse
=> mysqldump -h host -u user -ppassword databasename > D:file.sql
Export table
=> mysqldump -h host -u user -ppassword databasename tablename > D:file.sql

Posted in MySQL.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.