BEEN GETTING THIS ERROR BTW IM USING CODEIGNITER
Error Number: 1142
SELECT command denied to user 'itsqksex_sample'@'localhost' for table 'reservation'
SELECT `RESERVATION_ID` FROM `u994227601_itsq`.`reservation` `A` WHERE `RESERVATION_DATE` = '2017-09-10'
Filename: models/Reservation_model.php
Line Number: 88
even though my code is
$db['default'] = array(
'dsn' => '',
'hostname' => "localhost",
'username' => "itsqksex_sample",
'password' => "*******",
'database' => "itsqksex_sample",
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
AND I'VE SET PRIVILEGES TO GRANT ALL
Error Number: 1142
SELECT command denied to user 'itsqksex_sample'@'localhost' for table 'reservation'
SELECT `RESERVATION_ID` FROM `u994227601_itsq`.`reservation` `A` WHERE `RESERVATION_DATE` = '2017-09-10'
Filename: models/Reservation_model.php
Line Number: 88
even though my code is
$db['default'] = array(
'dsn' => '',
'hostname' => "localhost",
'username' => "itsqksex_sample",
'password' => "*******",
'database' => "itsqksex_sample",
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
AND I'VE SET PRIVILEGES TO GRANT ALL