LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2007, 11:54 AM   #1
bluetxxth
LQ Newbie
 
Registered: Sep 2007
Posts: 16

Rep: Reputation: 0
mysql database installation


Hi there,

I am trying to male mysql use a database that I already have but I donšt kn ow where to put it. Can someone help me.

BR;

Bluetxxth
 
Old 10-07-2007, 06:09 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
In general I find the safest way to do this is to dump the existent database to a text file (using the mysqldump command) and then import it into the new database (just recreate a pass the dump file as input to the mysql command). This is a lot safer than copying around the binary .MYD and .MYI files as their formats change between releases.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql - can't access mysql database as root yogaboy Linux - Software 5 12-28-2006 07:58 AM
Writing an app that uses a mysql database without installing mysql server? QtCoder Programming 4 08-09-2004 03:43 PM
MYSQL help - mysql database missing eloviyandhi Linux - Software 1 03-20-2004 10:20 PM
Mysql database from cd JHuizingh Linux - Software 0 02-22-2003 03:08 PM
mysql database huno Linux - General 8 02-11-2003 09:15 PM


All times are GMT -5. The time now is 07:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration