Doug,
Saturday, May 18, 2002, 6:45:20 AM, you wrote:

DC> Please forgive this easy question from a newbie:

DC> I was given a MySQL database file from a client with a .sql extension.  I
DC> already have several databases setup and running under MySQL on our server.
DC> But how would I copy this new database over?  Do I need to load it or can I
DC> copy it as is into a directory.

If it's a dump file you should create database with mysqladmin or
using CREATE DATABASE statement:
      http://www.mysql.com/doc/m/y/mysqladmin.html
      http://www.mysql.com/doc/C/R/CREATE_DATABASE.html

and then you should load data into your database from the file
    mysql database_name < file_name.sql
    
DC> Please advise.
DC> Thanks in advance!
DC> Doug Coning




-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to