Advertisement

05.09.2007 at 05:51AM PDT, ID: 22561341
[x]
Attachment Details

damaged MySQL DB due to creating 2 DB's with same user login

Asked by bheroniphr in MySQL, Miscellaneous Web Development, PHP and Databases

Tags: mysql, same, user

Hi,

I've got a broken Wiki and am pretty sure it can be fixed but don't know enough about PHPMyAdmin (or MySQL) to sort it.

Environment:
Server 2003
PHP 5
MySQL 5.1
MediaWiki 1.8.2

I've had a Wiki running on the server for several months that I set up. Details are:

DB Name: wikidb
User: wikiuser
Password: wikiuser

I'm now setting up another wiki on the same server. In my stupidity, I setup the new wiki with the following DB details:

DB Name: batwiki
User: wikiuser
Password: wikiuser

This caused both Wiki's to break. I've got the new one fixed by simply killing the new DB and recreating it but this time using new credentials:

DB Name: batwiki
User: batwiki
Password: batwiki

However, the old wiki is still not working - I get a htm doc containing "wiki has a problem". I'm sure that it must be because I've used the same user account to login to the new DB and it's messed it all up.

Obviously my question is: Can I fix it?

Cheers Start Free Trial
[+][-]05.09.2007 at 06:50AM PDT, ID: 19056863

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.09.2007 at 07:36AM PDT, ID: 19057245

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.09.2007 at 09:00AM PDT, ID: 19058056

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.15.2007 at 12:46AM PDT, ID: 19289859

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: MySQL, Miscellaneous Web Development, PHP and Databases
Tags: mysql, same, user
Sign Up Now!
Solution Provided By: fibo
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.16.2007 at 02:39PM PDT, ID: 19500004

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]07.21.2007 at 07:45AM PDT, ID: 19539414

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32