Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
1,389 Views

Installing mySQL on Edison

Jump to solution

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?

0 Kudos

Accepted Solutions
idata
Community Manager
56 Views

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.

View solution in original post

3 Replies
idata
Community Manager
57 Views

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.

View solution in original post

idata
Community Manager
56 Views

Tks, finally I can download it

idata
Community Manager
56 Views

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.