Bug #646
Prewikka, création tables avec mysql
0%
Description
J'ai réussi à faire fonction prelude version 1.2.5 sur freebsd10 et tout fonctionne parfaitement. Je tente aujourd'hui d'installer la version 1.2.6, tout se passe bien sauf pour prewikka. J'ai bien installé cheetah comme pour la 1.2.5 et il m'a fallu installer quelques dépendances supplémentaires par rapport à la 1.2.5
pip install lesscpy pip install python-dateutil
Ensuite
python setup.py install
L'installation semble se dérouler sans erreur apparentes
Je crée la base de donnée avec mysql et lorsque je tape
mysql -u prewikka prewikka -p < /usr/local/share/prewikka/*database*/mysql.sql
Cela ne fonctionne pas et pour cause le dossier database ne s'est pas créé, du coup je n'arrive pas à créer les tables
Je précise que j'ai également essayé sur debian7 et j'obtiens les mêmes resultats
History
#1 Updated by patrick moulin over 7 years ago
Je rectifie la commande ci dessus, c'est bien celle ci que j'ai utilisé et qui ne fonctionne pas
mysql -u prewikka prewikka -p < /usr/local/share/prewikka/database/mysql.sql
#2 Updated by Thomas ANDREJAK over 7 years ago
- Status changed from New to Assigned
- Assignee set to Antoine LUONG
The database schema is automaticly created during the first start of prewikka 1.2.6 . You do not need to do this. You just have to create the database and fill in prewikka.conf
#3 Updated by patrick moulin over 7 years ago
Thanks, effectiely it works is it normal that the database doesn't appear in the parametre?
#4 Updated by patrick moulin over 7 years ago
How can i create a user ? with prewikka 1.2.5 i had
[auth loginpassword] expiration: 60 initial_admin_user: admin initial_admin_pass: admin
but nothin in 1.2.6
Thanks
#5 Updated by Thomas ANDREJAK over 7 years ago
For now, you can not create user. We are migrating the old prewikka to this new architecture.
But feel free to suggest a patch to add this functionality
#6 Updated by Thomas ANDREJAK over 7 years ago
- Status changed from Assigned to Closed
- Target version set to Prelude OSS 1.2.6