Configure MySQL external database
It is strongly recommended to use an external database for production environments. After installing the database following the instructions provided with the database software, you must set up the database for use with DataPlane.
- The MySQL database server must have been installed and properly configured for remote access.
- A database must have been created. Note that you should create the DB which is
UTF-8
encoding compliant. - You can use the following queries to configure database for DataPlane. Make sure to replace username and password.
CREATE DATABASE dataplane CHARACTER SET utf8 COLLATE utf8_general_ci; CREATE USER username IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON dataplane.* TO username@'%'; flush privileges;
-
Download the MySQL JDBC driver.
You must download MySQL driver from the following URL: