22 views
Database is empty
Loading...

2 subjects, 9 replies

Unread message
Bonjour,

j"ai suprimer " UNIQUE KEY `session_id` (`session_id`,`user_id`,`ip_address`,`host_name`,`referer`,`user_agent`,`date`), "
toujour le meme probleme :/

DROP TABLE IF EXISTS `nf_sessions_history`;
CREATE TABLE IF NOT EXISTS `nf_sessions_history` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`session_id` varchar(32) DEFAULT NULL,
`user_id` int(11) unsigned NOT NULL,
`ip_address` varchar(39) NOT NULL,
`host_name` varchar(100) NOT NULL,
`referer` varchar(100) NOT NULL,
`user_agent` varchar(100) NOT NULL,
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
2 participants
4 replies
Espadon

8 subjects, 13 replies

Unread message
Are you editing config/db.php and adding the correct info? Did you upload the database to your host? And depending on your host you might have to change the driver to mysqli to mysql.
Loading...

2 subjects, 9 replies

Unread message
Hi,

there is my database info and i'm fink is working because first i add this probleme "Database error check config/db.php" and i manage to fix it.
$db[] = array(
'hostname' => 'localhost',
'username' => 'oskgaming_g7k9',
'password' => '*********',
'database' => 'oskgaming_g7k9',
'driver' => 'mysqli'

My host is "LiveHost.fr" and i just try to change 'driver' => 'mysqli' by 'driver' => 'mysql' but i got the same probleme ;/
Loading...

2 subjects, 9 replies

Unread message
ErreurRequête SQL:
--
-- Base de données : `neofrag`
--
-- --------------------------------------------------------
--
-- Structure de la table `nf_access`
--
DROP TABLE IF EXISTS `nf_access` ;


MySQL a répondu: [img width=11,height=11]http://www.livehost.fr/monsql/themes/pmahomme/img/b_help.png[/img]
#1046 - No database selected
Loading...

2 subjects, 9 replies

Unread message
Ok it work thanks 4 the help ^^