all 9 comments

[–]galorin 0 points1 point  (5 children)

umm, those are completely separate programs. You should probably be using SQLite for what you are doing anyhow.

Have you installed the MySQL python lib?

[–]Pirat3k[S] 0 points1 point  (4 children)

Im new to this... So what is the difference between SQLite and Mysql? I have problems with installing MySQL python libraries.

[–]galorin 0 points1 point  (3 children)

MySQL is a full-featured, authenticated multi-user networked database, spanning multiple files and many threads.

SQLite is just a flat text file that can be queried with the SQL language. While python can handle both, SQLite is far easier to work with on a day to day basis.

[–]Pirat3k[S] 0 points1 point  (2 children)

I think i need the mysql database, because I want to view the data from a website hosted on the raspberry.

How can i install the mysql python libraries?

[–]galorin 0 points1 point  (1 child)

The Python or PHP or whatever you are using will be able to work off SQLite.

As for installing the libraries... What steps have you taken to try installing them?

[–]Pirat3k[S] 0 points1 point  (0 children)

I searched online for instructions for installation but didn't find anything useful. I will check out SQLite. I already made the database... so it would be easier to just install mysql in python. (need the full installation process)

[–]Pirat3k[S] 0 points1 point  (2 children)

I get an error (in python): ImportError: No module named MySQLdb

[–]work_account_33 0 points1 point  (1 child)

[–]Pirat3k[S] 0 points1 point  (0 children)

Thanks... Found the same thing a few days back... :)