Solved

Changing the Location of the My SQL Database Directory

Posted on 2012-04-01
2
310 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
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

803 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