Solved

Changing the Location of the My SQL Database Directory

Posted on 2012-04-01
2
308 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
2 Comments
 
LVL 6

Accepted Solution

by:
Bxoz earned 500 total points
Comment Utility
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
Comment Utility
Got it,
Thank you,
Mike
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now