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 | Dernière révision Les deux révisions suivantes | ||
dolibarr [Le 11/09/2018, 18:00] L'Africain [Dolibarr ERP/CRM] |
dolibarr [Le 06/11/2018, 18:07] pstr56 [Problèmes connus] |
||
---|---|---|---|
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 « ` ». | ||
+ | |||
+ | Sous UBUNTU 18.04 j'ai dû remettre un mot de passe à l'utilisateur root de MariaDB afin de pouvoir installer Dolibarr : | ||
+ | |||
+ | Mettre un mot de passe à l'utilisateur root -> sudo mysql_secure_installation | ||
+ | |||
+ | Répondre aux questions suivantes | ||
+ | Enter current password for root (enter for none): faire Entrée | ||
+ | Set root password? [Y/n]: Y | ||
+ | New password: Entrer le MP | ||
+ | Re-enter new password: Répéter le MP | ||
+ | Remove anonymous users? [Y/n]: Y | ||
+ | Disallow root login remotely? [Y/n]: Y | ||
+ | Remove test database and access to it? [Y/n]: Y | ||
+ | Reload privilege tables now? [Y/n]: Y | ||
+ | |||
+ | Relancer MariaDB server -> sudo systemctl restart mariadb.service | ||
+ | |||
+ | sudo mysql | ||
+ | |||
+ | UPDATE mysql.user SET plugin = '' WHERE user = 'root' AND host = 'localhost'; | ||
+ | |||
+ | FLUSH PRIVILEGES; | ||
==== Liens ==== | ==== Liens ==== |