From 8384cac5e3f300c5ca13b0bf5a9c689c0b4202e9 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 20 Jan 2009 04:56:10 +0000 Subject: Deal gracefully with bad mysql connection and database information. --- installer/views/invalid_db_info.html.php | 6 ++++++ installer/views/missing_db.html.php | 13 ++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 installer/views/invalid_db_info.html.php (limited to 'installer/views') diff --git a/installer/views/invalid_db_info.html.php b/installer/views/invalid_db_info.html.php new file mode 100644 index 00000000..242a28a5 --- /dev/null +++ b/installer/views/invalid_db_info.html.php @@ -0,0 +1,6 @@ + +

Uh oh!

+

+ We were unable to connect to your MySQL server with the username and + password that you provided. Please go back and try again! +

diff --git a/installer/views/missing_db.html.php b/installer/views/missing_db.html.php index 1f93f08a..fa42fde5 100644 --- a/installer/views/missing_db.html.php +++ b/installer/views/missing_db.html.php @@ -1,2 +1,13 @@ + +

Can't find that database!

+

+ We were able to connect to your MySQL server, yay! But the database + name you gave us doesn't exist and we don't have permissions to + create it for you. Please create the database manually, then go + back and try again. +

+

- < \ No newline at end of file + If you're having trouble creating the database, please contact your + web host or system administrator for assistance. +

-- cgit v1.2.3