mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Test CI
This commit is contained in:
parent
b5529525e3
commit
057289efb1
10
.travis.yml
10
.travis.yml
|
|
@ -248,14 +248,14 @@ before_script:
|
|||
mysql -u root -ppassword -e 'GRANT ALL PRIVILEGES ON travis.* TO travis@127.0.0.1;'
|
||||
echo "MySQL grant and flush"
|
||||
mysql -u root -ppassword -e 'GRANT ALL PRIVILEGES ON *.* TO root@127.0.0.1; FLUSH PRIVILEGES;'
|
||||
sudo cat /etc/mysql/mysql.conf.d/mysql.cnf
|
||||
sudo mysqladmin variables | grep default_authentication_plugin
|
||||
sudo cat /etc/mysql/mysql.conf.d/mysqld.cnf
|
||||
sudo sed -i -e 's/default-authentication-plugin=.*/default-authentication-plugin=mysql_native_password/g' /etc/mysql/mysql.conf.d/mysqld.cnf
|
||||
sudo cat /etc/mysql/mysql.cnf
|
||||
sudo chmod -R a+rwx /etc/mysql/mysql.conf.d/mysqld.cnf
|
||||
echo "default-authentication-plugin=mysql_native_password" >> /etc/mysql/mysql.conf.d/mysqld.cnf
|
||||
sudo cat /etc/mysql/mysql.conf.d/mysqld.cnf
|
||||
sudo /etc/init.d/mysql restart
|
||||
sudo mysqladmin variables | grep default_authentication_plugin
|
||||
echo "MySQL list current users"
|
||||
mysql -u root -e 'use mysql; select * from user;'
|
||||
mysql -u root -ppassword -e 'use mysql; select * from user;'
|
||||
set -e
|
||||
echo "MySQL load with pass"
|
||||
mysql -u root -ppassword -h 127.0.0.1 -D travis < dev/initdemo/mysqldump_dolibarr_3.5.0.sql
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user