Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\AppServ\www\jProject\Modules\Database\MySQL.php on line 48
Server Database Connect Failed.
Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\AppServ\www\jProject\Modules\Database\MySQL.php on line 70
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in C:\AppServ\www\jProject\Modules\Database\MySQL.php on line 70
Database Connect Failed.
Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\AppServ\www\jProject\Modules\Database\MySQL.php on line 70
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in C:\AppServ\www\jProject\Modules\Database\MySQL.php on line 70
Database Connect Failed.
Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\AppServ\www\jProject\Modules\Database\MySQL.php on line 116
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\AppServ\www\jProject\Modules\Database\MySQL.php on line 116
Error Query [select * from mem_admin where mem_user = 'xxxx' and mem_password = '****']
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
include("InterfaceDatabase.php");
include("TableData.php");
/**
* Plugin MySQL
*
* @author iTerng
* @version 0.00001 implements BaseDatabase version 0.00001
* @package Database
*/
class MySQL implements InterfaceDatabase{
var $objConnect ;
var $objDB;
public function MySQL(){
$this->connectAll();
}
/**
* Connect Server Dtabase and Database<br/>
*
* @example
* <br/><br/>
* $connectdb = new Database();<br/>
* $connectdb->connectAll();<br/>
*/
public function connectAll(){
$this->connect("localhost", "root", "");
$this->connectdb("store");
}