Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic database names tweak #206

Closed
janiosarmento opened this issue Nov 21, 2019 · 1 comment
Closed

Automatic database names tweak #206

janiosarmento opened this issue Nov 21, 2019 · 1 comment

Comments

@janiosarmento
Copy link

@janiosarmento janiosarmento commented Nov 21, 2019

I'd like to suggest a tweak to the database name creation routine.

Currently, the database name (as well as the username) is automatically created by removing the dots, truncating on a number of characters, then appending a random string.

My suggestion is to replace the dots with underline characters instead of removing them. The advantage of this method is making more intuitive to a human being to identify which domain a given database belongs to.

Also, when a domain has dashes they are included in the database name. The dashes could be converted to underline too.

@VirtuBox VirtuBox added this to To do in WordOps v4.0 Nov 23, 2019
@VirtuBox VirtuBox mentioned this issue Dec 3, 2019
@VirtuBox VirtuBox moved this from To do to Done in WordOps v4.0 Dec 3, 2019
VirtuBox added a commit that referenced this issue Dec 3, 2019
- PHP 7.4 support
- Improved Webp images support with Cloudflare (Issue [#95](#95)). Nginx will not serve webp images alternative with Cloudflare IP ranges.
- Stack upgrade for adminer
- Check acme.sh installation and setup acme.sh if needed before issuing certificate
- Add `--ufw` to `wo stack status`
- Add Nginx directive `gzip_static on;` to serve precompressed assets with Cache-Enabler or WP-Rocket. (Issue [#207](#207))
- Previous `--php73` & `--php73=off` flags are replaced by `--php72`, `--php73`, `--php74` to switch site's php version
- phpMyAdmin updated to v4.9.2
- Adminer updated to v4.7.5
- Replace dot and dashes by underscores in database names (Issue [#206](#206))
- Increased database name length to 32 characters from domain name + 8 random characters
- typo error in motd-news script (Issue [#204](#204))
- Install Nginx before ngxblocker
- WordOps install/update script text color
- Issue with MySQL stack on Raspbian 9/10
- Typo error  (PR [#205](#205))
- php version in `wo debug` (PR [#209](#209))
- SSL certificates expiration display with shared wildcard certificates
@VirtuBox

This comment has been minimized.

Copy link
Member

@VirtuBox VirtuBox commented Dec 3, 2019

Issue has been fixed in the last release.

Please update WordOps with the command wo update

@VirtuBox VirtuBox closed this Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
WordOps v4.0
  
Done
2 participants
You can’t perform that action at this time.