Make MysqlInstaller check if DB exists in a cleaner way
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 25 Aug 2018 05:49:15 +0000 (22:49 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Sat, 25 Aug 2018 05:49:15 +0000 (22:49 -0700)
commit0a07c38936652044ef0700278d5e1eec77dc9890
tree6c9370e65a40613029cd197ffe47bf779fcde1ea
parentcfc1bc4907454e9545340bae79c39e5bf37a592e
Make MysqlInstaller check if DB exists in a cleaner way

Query the information schema rather than seeing if selectDB() returns false.
This makes the installer able to handle an exception based failure mode.

Change-Id: I7912b9d3b8501fbc92cb731547ae10fa2b0176db
includes/installer/MysqlInstaller.php