Problem With installing MySQL
Andrey Meshin last edited by
Hello, i want to install mysql on my Omega2+
I try like this:
root@Omega-2BBD:/etc/init.d# opkg install mysql-server
Unknown package 'mysql-server'.
- opkg_install_cmd: Cannot install package mysql-server.
Please help where i can find mysql package?
andrew mackay last edited by
Need to enable a few more distribution feeds.
nano /etc/opkg/distfeeds.conf and remove # from the commented lines.
opkg update after changes in the feeds and should be able to find
Mentor Gashi last edited by
Removed all the comments from all lines `root@Omega-99EF:/etc/opkg# opkg list | grep -i mysql
libmysqlclient - 5.1.73-2 - MySQL client library
libzdb - 3.1-3 - zdb is a database library with thread-safe connection pooling. The library can connect transparently to multiple database systems. It has zero runtime configuration and connections are specified via a URL scheme. A modern object-oriented API is provided. zdb supports MySQL, PostgreSQL, SQLite, and Oracle. NOTE: This package does not include Oracle support.
php7-mod-mysqli - 7.1.1-1 - MySQL Improved Extension shared module
php7-mod-pdo-mysql - 7.1.1-1 - PDO driver for MySQL shared module
python-mysql - 1.2.5-1 - MySQLdb is an thread-compatible interface to the popular MySQL database server that provides the Python database API. `
Douglas Kryder last edited by
@Mentor-Gashi since you did not mention it, did you update after uncomment?
if so, then go to openwrt and/or lede and search the package database.
György Farkas last edited by György Farkas
@Mentor-Gashi said in Problem With installing MySQL:
Removed all the comments from all lines
You should enable the mipsel_24kc/base (the 2nd) and the mipsel_24kc/packages (the 5th) lines of /etc/opkg/distfeeds.conf.
opkg list | grep -i sql
you'll see the full current SQL assortment of LEDE / OpenWrt (Omega2) - I think.
Mentor Gashi last edited by
@György-Farkas said in Problem With installing MySQL:
Thanks for mentioning guys, I did update and that's what I get after opkg update
The device is an omega2+ with a 16gb usb overlayed through the tutorial here.
The plan is to have a LAMP like setup, I am able to install the php and components but can't find mysql, I'm going to factory reset now and see if mysql comes in after uncommenting all the lines and performing opkg update.
Will let you know guys.
Thanks for the prompt replies
Mentor Gashi last edited by Mentor Gashi
Oh I forgot to mention, these are the failed packages to be downloaded, I don't know why:
*** Failed to download the package list from http://downloads.lede-project.org/snapshots/targets/ramips/mt7688/packages/Packages.gz
*** Failed to download the package list from http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/onion/Packages.gz
- opkg_download: Failed to download http://downloads.lede-project.org/snapshots/targets/ramips/mt7688/packages/Packages.gz, wget returned 8.
- opkg_download: Failed to download http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/onion/Packages.gz, wget returned 8.