mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-05-24 02:08:40 +00:00
Try to restart mysql
This commit is contained in:
parent
5a71144588
commit
75c3ca9ffc
14
.travis.yml
14
.travis.yml
|
|
@ -1,11 +1,19 @@
|
||||||
language: php
|
language: php
|
||||||
|
sudo: true
|
||||||
|
dist: trusty
|
||||||
php:
|
php:
|
||||||
- '7.2'
|
- '7.2'
|
||||||
- nightly
|
- nightly
|
||||||
services:
|
addons:
|
||||||
- mysql
|
apt:
|
||||||
|
sources:
|
||||||
|
- mysql-5.7-trusty
|
||||||
|
packages:
|
||||||
|
- mysql-server
|
||||||
|
- mysql-client
|
||||||
before_script:
|
before_script:
|
||||||
- echo "USE mysql;\nUPDATE user SET password=PASSWORD('password') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
|
- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('new_password') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
|
||||||
|
- sudo mysql_upgrade
|
||||||
- sudo service mysql restart
|
- sudo service mysql restart
|
||||||
- pecl install ast
|
- pecl install ast
|
||||||
- composer install
|
- composer install
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user