Project:Database Administration
Version:5.x-1.x-dev
Component:MySQL Support
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I had installed Drupal in a MySQLi environment without problem until I installed DBA 5.x-1.x-dev (2007-06-24). When I enabled the module and went to Site Building >> database, I got an error (example.drupal_system_catalog does not exist).

I tried hacking the module changing all "if (_is_mysql())" to "if (_is_mysql() || _is_mysqli())" but that failed.

I then went to my settings.php file and changed:

$db_url = 'mysqli://username:password@localhost/my_drupal';

to

$db_url = 'mysql://username:password@localhost/my_drupal';

and it seems to be working.

rHOnDO

Comments

#1

Status:active» needs review

Attached a patch to fix this.

AttachmentSize
dba_mysqi.patch 317 bytes

#2

Category:feature request» bug report
Status:needs review» reviewed & tested by the community

Yes, it's a simple fix.

#3

I too had this problem and the patch solved it.

Thanks apslvam.

#4

Status:reviewed & tested by the community» fixed

Committed to DRUPAL-4-7 and HEAD.

@Jeremy: any reason you just marked this RTBC instead of committing yourself? ;)

#5

At that point in time I was on the road and unable to commit it. I then got busy and forgot.

#6

(By the way, I meant to add -- thank you for committing it. And for committing your other big patch!)

#7

Status:fixed» closed (fixed)

#8

FYI: whoops, this was totally broken. ;) See http://drupal.org/node/223226