使用Circle CI我执行以下操作来安装MySQL:
- image: mysql:5.6
environment:
- MYSQL_ROOT_PASSWORD=ubuntu
- MYSQL_USER=user
- MYSQL_PASSWORD=password
我安装成功了:
MySQL init process done. Ready for start up. ......mysqld: ready for
connections.
Version: '5.6.38' socket: '/var/run/mysqld/mysqld.sock' port: 3306
MySQL Community Server (GPL)
问题是如果我尝试使用mysql这样的东西:
mysql --version
我明白了:
mysql: command not found