Share

PHP Mini SQL Admin

Tracker: Bugs

5 Error with backup when "-" in DB name - ID: 2014060
Last Update: Comment added ( vitold )

Script cannot make backup when DB name contains "-" (minus).
I.e.:
Database name: "xxx-yyy"
Script try to connect to: "xxx" DB.


Nobody/Anonymous ( nobody ) - 2008-07-09 08:33

5

Open

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2008-07-12 15:58
Sender: vitold


Solving:

phpminiadmin.php on line 646 change

from

[code]
$sth=db_query("show tables from $DB[db]");
[/code]

to

[code]
$sth=db_query("show tables from `$DB[db]`");
[code]


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.