I use these command to install mySQL on Intel Edison:
opkg update
systemctl start mysqld.service
And I meet this error:
Failed to start mysqld.service: Unit mysqld.service failed to load: No such file or directory.
So how can I fix it?
Link Copied
Hello HeavenStone,
I'll try to help you install mySQL on Edison. Please follow the next steps:
cat << EOF > /etc/opkg/base-feeds.conf
src/gz all http://repo.opkg.net/edison/repo/all
src/gz edison http://repo.opkg.net/edison/repo/edison
src/gz core2-32 http://repo.opkg.net/edison/repo/core2-32
EOF
opkg update
opkg list | grep mysql
# this will display all the mysql packages available on the repo, select the packages you need and install the, for example:
opkg install libmysqlclient18
Please let me know if this helps. Also, make sure your board has access to the internet when you try the steps above.
-Peter.
Hello HeavenStone,
I'll try to help you install mySQL on Edison. Please follow the next steps:
cat << EOF > /etc/opkg/base-feeds.conf
src/gz all http://repo.opkg.net/edison/repo/all
src/gz edison http://repo.opkg.net/edison/repo/edison
src/gz core2-32 http://repo.opkg.net/edison/repo/core2-32
EOF
opkg update
opkg list | grep mysql
# this will display all the mysql packages available on the repo, select the packages you need and install the, for example:
opkg install libmysqlclient18
Please let me know if this helps. Also, make sure your board has access to the internet when you try the steps above.
-Peter.
Tks, finally I can download it
I'm glad to be of help!
If you ever have any other doubts, please don't hesitate to come back to the community. We'll try to help you in any way we can.
-Peter.
For more complete information about compiler optimizations, see our Optimization Notice.