22 visualizzazioni
Database is empty
Loading...

2 soggetti, 9 risposte

Messaggio non letto
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 partecipanti
4 risposte
Espadon

8 soggetti, 13 risposte

Messaggio non letto
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 soggetti, 9 risposte

Messaggio non letto
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 soggetti, 9 risposte

Messaggio non letto
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 soggetti, 9 risposte

Messaggio non letto
Ok it work thanks 4 the help ^^