我想为我的spring-boot项目设置travis,我使用用户makler/makler来访问数据库.运行travis时出现错误说:
$ mysql -u root -e 'CREATE DATABASE stockmarket;'
$ mysql -u root -e 'CREATE USER 'makler'@'localhost' IDENTIFIED BY 'makler';'
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'makler' at line 1
The command "mysql -u root -e 'CREATE USER 'makler'@'localhost' IDENTIFIED BY 'makler';'" failed and exited with 1 during .
Your build has been stopped.
Run Code Online (Sandbox Code Playgroud)
我的travis.yml文件看起来像: …