is not used any more and exists only for history. Post new tickets on the Github account. n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 12 years ago

Closed 12 years ago

#895 closed bug (fixed)

initadmin : Erreur MySQL 1024 - connexion PDO

Reported by: alfihar Owned by:
Priority: normal Milestone: Jelix 1.0.8
Component: jelix:db Version: 1.1.1
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description (last modified by laurentj)

Exécution de la commande
php jelix.php --agenda initadmin admin

Notice: Undefined index:  database in D:\wwwroot\agenda\lib\jelix\plugins\db\mysql\mysql.dbtools.php on line 31
Error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server vers
ion for the right syntax to use near '' at line 1

J'utilise la connexion PDO suivante:

Si je rajoute database="agenda" Ca passe bien.

Je suis sur Windows 2000/php5.2.6/mysql 5.1

Change History (1)

comment:1 Changed 12 years ago by laurentj

  • Component changed from jelix-scripts to jelix:db
  • Description modified (diff)
  • Milestone set to Jelix 1.0.8
  • Resolution set to fixed
  • Status changed from new to closed

fixed in the trunk, 1.1.x branch and 1.0.x branch. r1374.

Thanks for your report.

Note: See TracTickets for help on using tickets.