Bluehost.com Web Hosting $6.95

Moving a mysql database on a different partition on the server

This is a discussion on Moving a mysql database on a different partition on the server within the MySQL Database forums, part of the Database Forums category; Hi, I'm looking to move an entire mysql databse from its current location into a newly installed much larger ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-30-2006
kunaal84@gmail.com
 
Posts: n/a
Default Moving a mysql database on a different partition on the server

Hi,

I'm looking to move an entire mysql databse from its current location
into a newly installed much larger partition on our Microsoft Small
Business 2003 server. Can anyone please explain how I could go about
doing this?
The way I am looking to do it at the moment it to backup the DB,
uninstall mysql from its current location, install it into the new
partition, and then change all existing connections to point here from
now on.......this will take me a lot of time :)
is there an easier/quicker way to do this?

Help as always is much appreciated

Reply With Quote
  #2 (permalink)  
Old 11-30-2006
Jerry Stuckle
 
Posts: n/a
Default Re: Moving a mysql database on a different partition on the server

kunaal84@gmail.com wrote:
> Hi,
>
> I'm looking to move an entire mysql databse from its current location
> into a newly installed much larger partition on our Microsoft Small
> Business 2003 server. Can anyone please explain how I could go about
> doing this?
> The way I am looking to do it at the moment it to backup the DB,
> uninstall mysql from its current location, install it into the new
> partition, and then change all existing connections to point here from
> now on.......this will take me a lot of time :)
> is there an easier/quicker way to do this?
>
> Help as always is much appreciated
>


If you're just moving the data, and not MySQL itself, you can stop
MySQL, copy the files over to the new partition, change your my.ini file
and restart the database.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Reply With Quote
  #3 (permalink)  
Old 11-30-2006
kunaal84@gmail.com
 
Posts: n/a
Default Re: Moving a mysql database on a different partition on the server

Thanks Jerry,

Appreciate that, it seems to have worked :)

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 04:12 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0