Dear Arduino community I come here to this post to ask for your help in one topic.
I need to send data from my arduino to a MySQL database and I have found different options about how to do it:
- Using MySQL connector and MySQL Workbench
- Sending the data from Arduino to a php and from php to MySQL
I already tried the first one and I had to purchase an arduino mega for this, and even that, it did not wotk propertly it takes so much time after every measurement and I want to send measurements every second. Furthermore at some point it crashes and I does not send data anymore (I don’t know why)
The second one is new for me I see that you create an add.php file or something like that but I am not sure how to use this. I searched some info on the internet but I didn’t find anything. Nevertheless I saw on this forum that someone made something similar. So I would appreciate it a lot a lot if someone can give me an example including the steps and the code for using the second option