Problem With installing MySQL
-
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'.
Collected errors:- opkg_install_cmd: Cannot install package mysql-server.
Please help where i can find mysql package?
-
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
-
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. `
-
@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.
-
@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.
After
opkg update
opkg list | grep -i sql
you'll see the full current SQL assortment of LEDE / OpenWrt (Omega2) - I think.
-
@György-Farkas said in Problem With installing MySQL:
opkg update
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
-
Oh I forgot to mention, these are the failed packages to be downloaded, I don't know why:
Downloading 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/targets/ramips/mt7688/packages/Packages.gzDownloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/onion/Packages.gz
*** Failed to download the package list from http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/onion/Packages.gzCollected errors:
- 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.