So I have to restart this discussion
Hello,
I need your help again.
I would like change the database from sqlite to mysql.
The changes into .conf is no problem. Change and save.
[[wx_binding]]
# The database should match one of
the sections in [Databases]
database = *archive_mysql*
*Please tell me which other doings I have to make into the .conf file.*
If I go step by step the weewx user guide for mysql I see that a have to
install * sudo apt-get install python-mysqldb * This is reday
but if I controle it with *python -c "import MySQLdb" * I get
the issue Name Error: name 'importMysqldb' is not defined
My problems starts with the creation of the weewx mysql database.
I set the following line into the console:
mysql CREATE USER 'weewx'@'localhost'
IDENTIFIED BY 'weewx';
mysql GRANT select, update, create,
delete, insert, drop ON weewx.* TO weewx@localhost;
I know it is easy for you but I don`t know how go one next step.....
Thanks for your support.
Holm
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.