Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente | Prochaine révision Les deux révisions suivantes | ||
dolibarr [Le 20/05/2018, 20:33] L'Africain bionic |
dolibarr [Le 20/05/2018, 20:48] L'Africain problème d'accès début de solution. |
||
---|---|---|---|
Ligne 32: | Ligne 32: | ||
''Erreur SQL DB_ERROR_SYNTAX You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'virtual tinyint DEFAULT 0 NOT NULL, fk_parent integer DEFAULT 0, ' at line 11''\\ | ''Erreur SQL DB_ERROR_SYNTAX You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'virtual tinyint DEFAULT 0 NOT NULL, fk_parent integer DEFAULT 0, ' at line 11''\\ | ||
[[:tutoriel:comment_modifier_un_fichier|ouvrez le fichier]] **/usr/share/dolibarr/htdocs/install/mysql/tables/llx_product.sql** et mettez le mot ''virtual'' entre ce caractère « ` ». | [[:tutoriel:comment_modifier_un_fichier|ouvrez le fichier]] **/usr/share/dolibarr/htdocs/install/mysql/tables/llx_product.sql** et mettez le mot ''virtual'' entre ce caractère « ` ». | ||
+ | ====Accès refusé==== | ||
+ | Si vous rencontrer l'erreur suivante ''Message: host=localhost, port=3306, user=dolibarr, databasename=dolibarr, Access denied for user 'dolibarr'@'localhost' (using password: YES)'' il vous faudra créer un utilisateur [[:mysql]] dolibarr avec un mot de passe, une base de donnée du même nom et enfin [[:tutoriel:comment_modifier_un_fichier|modifiez le fichier]] **/etc/dolibarr/conf.php** pour y mettre le bon mot de passe à la ligne : | ||
+ | <file php conf.php> | ||
+ | $dolibarr_main_data_root='/var/lib/dolibarr/documents'; | ||
+ | $dolibarr_main_db_host='localhost'; | ||
+ | $dolibarr_main_db_port='3306'; | ||
+ | $dolibarr_main_db_name='dolibarr'; | ||
+ | $dolibarr_main_db_prefix='llx_'; | ||
+ | $dolibarr_main_db_user='dolibarr'; | ||
+ | $dolibarr_main_db_pass='dolibarr'; ## Ici mettre le mot de passe défini pour l'utilisateur mysql dolibarr | ||
+ | $dolibarr_main_db_type='mysqli'; | ||
+ | </file> | ||
==== Liens ==== | ==== Liens ==== |