Changing the Location of the My SQL Database Directory

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
miker454Asked:
Who is Participating?
 
BxozConnect With a Mentor Commented:
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
 
miker454Author Commented:
Got it,
Thank you,
Mike
0
All Courses

From novice to tech pro — start learning today.