Editing Pi MySql
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | = next mysql | + | = next mysql = |
− | |||
− | |||
− | |||
+ | 2018 streach update: | ||
<pre> | <pre> | ||
Line 39: | Line 37: | ||
− | == | + | == enable remote access == |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
If your issue is not able to remotely connect with MySQL on Raspberry Pi, then try below steps. I had the same issue and got it resolved by performing below commands. | If your issue is not able to remotely connect with MySQL on Raspberry Pi, then try below steps. I had the same issue and got it resolved by performing below commands. | ||
<pre> | <pre> | ||
Line 65: | Line 49: | ||
</pre> | </pre> | ||
− | + | later might want to look at https://serverfault.com/questions/139323/mysql-bind-to-more-than-one-ip-address | |
− | |||
== make non root user == | == make non root user == | ||
− | This can be done in the workbench | + | This can be done in the workbench |
how do we allow them remote access and access to our db and table? | how do we allow them remote access and access to our db and table? | ||
== misc == | == misc == | ||
+ | |||
Line 110: | Line 94: | ||
pip install pymysql | pip install pymysql | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Arduino/RaspberryPi]] | [[Category:Arduino/RaspberryPi]] |