Skip to content

Commit f13a591

Browse files
authored
[BUGFIX] Fix SQL GRANT syntax in .travis.yml (#31)
There was a double set of single quotes for the host name, and the user name was not quoted at all.
1 parent 0274d78 commit f13a591

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ before_install:
3535
echo;
3636
echo "Creating the database and importing the database schema";
3737
mysql -e "CREATE DATABASE ${PHPLIST_DATABASE_NAME};";
38-
mysql -u root -e "GRANT ALL ON ${PHPLIST_DATABASE_NAME}.* TO ${PHPLIST_DATABASE_USER}@''%'';";
38+
mysql -u root -e "GRANT ALL ON ${PHPLIST_DATABASE_NAME}.* TO '${PHPLIST_DATABASE_USER}'@'%';";
3939
mysql ${PHPLIST_DATABASE_NAME} < vendor/phplist/phplist4-core/Database/Schema.sql;
4040
4141
install:

0 commit comments

Comments
 (0)