How do I move the mysql data directory to another the partition of the https directory or where the hosting allows me a large amount of space? My mysql data is large and causes problems. How do I move the data from /var/lib/mysql directory to another partition or create one? I am only allowed so much space in /var directory which is part of root partition. I have 400G of Disk Space and only 4 Gigs of Ram which is where the mysql data directory is located, taking up a large amount of that Ram space on each new mysql database install that has space. I would like to move the mysql data directory and/or whatever other files needed to be moved to the Server Disk Drive space I have on this account which is 400G.