#create
# Stop the database service
# To move the database files to the new storage location
# Modify the database configuration file
# Start the database
# New command to log database, you need to specify mysql.sock
# Create a soft link, otherwise, zabbix page could not be opened
In this step before, I was the original / var / lib / mysql directory renamed / var / lib / mysql_ori. So, there will be created / var / lib / mysql command. In the following confirmation zabbix restart the server without problems, web interface can be opened normally. I only original / var / lib / mysql directory to the / tmp directory, and later moved to the company's default directory, as a backup storage.
# Restart zabbix
References:
http://www.cnblogs.com/seasonsstory/archive/2013/07/24/3209785.html--zabbix Rom database
http://blog.chinaunix.net/uid-20749043-id-1878317.html-- replacement storage path mysql