Solved

Changing the Location of the My SQL Database Directory

Posted on 2012-04-01
2
313 Views
Last Modified: 2012-04-01
I'm new to My SQL . I installed My SQL version 5.2.38 and the default Directory location for the database is Program Data/MySQL/MySQL Server 5.5/data . Is this controled with the my.ini file? How can I change the location so can put the data on the server directory?

Thanks,
Mike
0
Comment
Question by:miker454
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
Bxoz earned 500 total points
ID: 37792555
Yes you can change the default datadir in my.ini.

But do a backup before an stop the MySql services
http://technicians-blog.kingcomputer.com.au/how-to-move-mysql-database-on-windows-server/
0
 

Author Closing Comment

by:miker454
ID: 37793574
Got it,
Thank you,
Mike
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

Suggested Solutions

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

752 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