Opened 3 years ago
Last modified 11 months ago
#12671 assigned enhancement
Installer page doesn't check if MySQL tables were created successfully
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Upgrade/Install | Version: | 2.9.2 |
| Severity: | normal | Keywords: | needs-patch mysql permissions gsoc |
| Cc: | westi |
Description
When running the web-based setup script - My Mysql user didn't have create permissions so no tables were created but the message (underneath all the MySQL errors) said setup was successful.
I think it would be worth doing a check for no MySQL errors before proclaiming the installation a success.
Change History (6)
- Keywords needs-patch added; installer removed
- Milestone changed from Unassigned to 3.0
- Milestone changed from 3.0 to Future Release
- Type changed from defect (bug) to enhancement
This one came in a little late for 3.0. Patches welcome :)
- Cc westi added
It might also be nice if possible to have a generic "capability" check for the mysql permissions that the db user has.
So that the core code / plugin can check to see if the db user has be granted x or y before it tries to do something.
comment:4
wojtek.szkutnik — 3 years ago
- Keywords gsoc added
comment:6
SergeyBiryukov — 11 months ago
Closed #21136 as a duplicate.
Note: See
TracTickets for help on using
tickets.

Good idea. I think it should run with $wpdb->show_errors on.