Comments (5)
Thank you for the information - I kept seeing changes to the mysql install file and got excited and retried it a few times last few days.
Just running some tests against a copy of my live site at the moment, so was wanting to install from new and test - but the SQL was failing on install.
Keep up the good work, love how simple SlickStack is.
from slickstack.
same for me also, mysql does not load/start and therefore database connection error.
Doesnt seem to have created the database either and I have run through it many many times now.
from slickstack.
Tried again this morning, after it completed - there was no database created and no user.
Created database, created the user defined in the config file (that will be used in wp-config.php) and did the permissions;
mysql> CREATE DATABASE wordpress;
mysql> CREATE USER 'xxxxxxx'@'%' IDENTIFIED BY 'password';
mysql> GRANT ALL PRIVILEGES ON . TO 'xxxxxxxxx'@'%' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
Now it works - so something is broken in the SQL creation process
from slickstack.
This is a known issue as we comb through updating the MySQL installation process to better support MySQL 8.0.x. We've begun splitting the ss-install
into various sub-scripts for better organization, including ss-install-mysql
:
https://github.com/littlebizzy/slickstack/blob/master/ss-install-mysql.txt
We are moving toward using the auth_socket
for root
user and initial setup process. A new user admin
will be created for all database management (and PHP tools, etc) as needed.
The challenge is running setup using this method but then using TCP (127.0.0.1) for the WordPress database.
All feedback is welcome, there is also a brief discussion in our Facebook group too. Hopefully within the next few days this gets resolved, it was also complicated by some changes made in MySQL 8.0.17/18 as well...
from slickstack.
Thanks again for all the feedback on this thread.
We did successfully simplify the MySQL installation although still cleaning up the code a bit. This was complicated due to breaking changes that MySQL introduced in minor version updates (definitely not semantic versioning!).
But it's been stable for more than a year now, which is good news.
- we also introduced a new script
ss-install-mysql-database
to separate that functionality - Unix sockets will be default going forward for
root
MySQL user - TCP will be default for non-root MySQL user (e.g. WordPress database user) to support remote databases, etc.
Also keep an eye on ss-functions
as we optimize the bash aliases for mysql
commands... all feedback is welcome, as we need to ensure these commands work on various Ubuntu LTS / MySQL versions.
Ref: https://github.com/littlebizzy/slickstack/blob/master/bash/ss-functions.txt
from slickstack.
Related Issues (20)
- Install freeze on Running ss-install-redis-packages... HOT 3
- Website very slow loading inside apps ios HOT 3
- CERT_AUTHORITY_INVALID After install HOT 1
- SUDO_USER and SFTP_USER validation check to avoid conflicts? HOT 2
- Perform custom tasks during certain SlickStack scripts HOT 1
- Invalid user mysql:mysql error when using remote database HOT 1
- Ensure more privacy for openssl cert generation. HOT 11
- SS_ADMINER_PUBLIC="false" does not work as intended. HOT 9
- Allow tuning of PHP8 JIT settings (opcache.jit options in php.ini) HOT 4
- Cloudflare real visitor IP support in Nginx config HOT 18
- Option to allow only Cloudflare IPs to connect to origin server HOT 2
- OpenVZ PHP-FPM "Unable to set priority for the master process: Permission denied" HOT 9
- Support for custom Permissions Policy HTTP header in Nginx HOT 6
- Improve WP-Cron robustness for Multisite environments HOT 3
- Scanning WordPress core files to check if intact or broken HOT 4
- Redirect .php extension to WordPress if not exists HOT 4
- Why deny /wp-admin/load-styles.php and /wp-admin/load-scripts.php? HOT 3
- Nginx access log enabled by default but nginx.conf says not HOT 5
- Spam Content HOT 1
- Expose additional options for ss remote backup HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slickstack.