Appendix D. Installing MySQL
These instructions describe how to install MySQL locally, which may be done for a POC, UAT, or other testing environment.
- Install MySQL.
- Start MySQL.
- Configure MySQL.
- Test MySQL.
- Create the database for CASP
Unbound’s Crypto Asset Security Platform (“CASP”) provides the advanced technology and the architecture to secure crypto asset transactions..
- Log into MySQL.
- Create the database called casp.
- Load the CASP
Unbound’s Crypto Asset Security Platform (“CASP”) provides the advanced technology and the architecture to secure crypto asset transactions. schema.
You can get the repository from: https://dev.mysql.com/downloads/repo/yum/.
For example:
sudo yum install https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm
sudo yum install mysql-server
sudo systemctl start mysqld
sudo systemctl status mysqld
During the installation process, a temporary password is generated for the MySQL root user. Locate it in the mysqld.log with this command:
sudo grep 'temporary password' /var/log/mysqld.log
sudo mysql_secure_installation
This command prompts for the default root password and then requires you to change it.
mysqladmin -u root -p version
mysql -p<root password> -u root
create database casp
mysql -p<root password> -u root casp < /opt/casp/sql/casp-mysql.sql