sql.php

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
rootik
Posts: 8
Joined: Tue Feb 05, 2002 7:00 pm
Location: Ukraine
Contact:

Post by rootik »

You should add sql server hostname in sql.php.


if ($database_password == "") {
$sql = `mysqladmin -h $database_hostname -u $database_username status |
awk '{print $6 }'`;
}else{
$sql = `mysqladmin -h $database_hostname -u $database_username -p$databa
se_password status | awk '{print $6 }'`;
}
Igor N Indick
JSC Doris
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Made the change...

-Ian
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests