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

CommentFileSizeAuthor
#1 dba_mysqi.patch317 bytesapsivam

Comments

apsivam’s picture

Status: Active » Needs review
StatusFileSize
new317 bytes

Attached a patch to fix this.

jeremy’s picture

Category: feature » bug
Status: Needs review » Reviewed & tested by the community

Yes, it's a simple fix.

greggles’s picture

I too had this problem and the patch solved it.

Thanks apslvam.

dww’s picture

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? ;)

jeremy’s picture

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

jeremy’s picture

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

Anonymous’s picture

Status: Fixed » Closed (fixed)
dww’s picture

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