Manda Sairam <[EMAIL PROTECTED]> wrote: > > how to import a file to the database > > --------------------------------- > I have a file called dat.db.001 in local system . It is mysql database file . > > I have installed mysql in my system and now would like to open the file dat.db.001 > .I am an newbee to databases.Can somebody mail me how to open this file.
If this file contains SQL statements you can do: shell> mysql -uuser_name -p database_name < /path/to/the/file/dat.db.001 -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]