Solved

MySQL & Open Remote Directory

Posted on 2012-04-03
1
150 Views
Last Modified: 2012-04-19
I have installed MySQL on my local Windows computer.  It is working and I can access the sample databases.  I also have another MySQL data folder that contains copies of my production databases.  How do I open this "second" data folder?  I can copy it locally.
0
Comment
Question by:deklinm
1 Comment
 
LVL 24

Accepted Solution

by:
johanntagle earned 500 total points
ID: 37803793
You can only open one data directory at a time.  to switch to the new directory, shut down mysql, Find your my.ini file, open it and change the data-dir entry to the new location.  Then restart mysql.  Note that this assumes that the new data dir is valid, meaning it includes its own mysql schema, etc.  Another thing to note is if the ib_logfile's on the new directory have different size as the original one.  If so you either make another change in your my.ini (look for something like innodb-log-file-size and set the value to the size of the new files), or you can delete the existing ib_logfile's so mysql will create new ones on startup.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In this article, I will by showing a nice little trick for MySQL similar to that of my previous EE Article for SQLite (http://www.sqlite.org/), A SQLite Tidbit: Quick Numbers Table Generation (http://www.experts-exchange.com/A_3570.htm…
I use MySQL for many of my development projects in a Windows environment. To manage my databases (and perform queries) for years I used a tool called MySQL administrator.  This tool has since been replaced by MySQL Workbench. So I decided to m…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question