diff --git a/.env.example b/.env.example index e919318..a9392b3 100644 --- a/.env.example +++ b/.env.example @@ -17,7 +17,7 @@ DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=phpip DB_USERNAME=phpip -DB_PASSWORD=phpip +DB_PASSWORD=phpIP2024! OPS_APP_KEY="Your Consumer Key" OPS_SECRET="Your Consumer Secret Key" diff --git a/doc/install-phpip-ubuntu.sh b/doc/install-phpip-ubuntu.sh index 23a3750..e9ec7dc 100755 --- a/doc/install-phpip-ubuntu.sh +++ b/doc/install-phpip-ubuntu.sh @@ -23,7 +23,7 @@ apt -y install php php-common libapache2-mod-php php-cli php-mysql php-json php- apt -y install unzip git-core composer -echo "CREATE DATABASE phpip DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; CREATE USER phpip@localhost IDENTIFIED BY 'phpip'; GRANT ALL PRIVILEGES ON phpip.* TO phpip@localhost; SET GLOBAL log_bin_trust_function_creators = 1;" | mysql +echo "CREATE DATABASE phpip DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; CREATE USER phpip@localhost IDENTIFIED BY 'phpIP2024!'; GRANT ALL PRIVILEGES ON phpip.* TO phpip@localhost; SET GLOBAL log_bin_trust_function_creators = 1;" | mysql echo "127.0.0.1 phpip.local" >> /etc/hosts