So ich habe bis eben rumprobiert, so wie es aussieht kann die mysql4 Version nicht mehr fehlerfrei unter Ubuntu 16.04 compiliert werden. Irgendwo hängt es immer. Ich habe den Datenbankserver zwar irgendwie installiert bekommen, aber es gab dann Fehler beim Anlegen von Daten usw. Ich denke das die alte Software sich nicht mehr ohne weiteres auf einem neuen System aufsetzten lässt. Ein Kollege hatte unter einem aktuellen openSuse ähnliche Probleme. Kein Wunder eigentlich, wenn man bedenkt wie lange mysql4 schon obsolet ist. Letztlich ist es auch nur eine Frage der Zeit, bis eine ungepflegte und veraltete Software zum (Sicherheits)Risiko wird.
Unter einer Ubuntu 14.04 Installation, lässt sich mysql4 noch Problemlos installieren. Wie es nach einem Upgrade auf 16.04 aussieht, kann ich noch nicht sagen. Das werde ich an diesem WE auch nicht mehr versuchen, denn ich gehe jetzt in meinen Feierabend und in mein Wochenende.
Ich kann euch bei Interesse gerne auf dem laufenden halten, wie wir das Problem mit mysql4 und Cao abschliessend lösen. Langfristig kann ich mir nicht vorstellen, das hier weiterhin ein größerer Aufwand betreiben wird, um irgendwie einen uralt Datenbank am laufen zu halten, der zusätzlich Arbeit macht und Ressourcen benötigt. Auch wenn es nur um Dinge wie der Platz für eine VM, Monitoring und Datensicherung geht.
MySQL-4.1.22 funktioniert nicht unter Ubuntu 16.04/Mint18
Re: MySQL-4.1.22 funktioniert nicht unter Ubuntu 16.04/Mint1
Guten morgen ,
scheinbar bricht der MySql Dienst ab , weil Dein Import File im zu gross ist !
Schau doch einmal unter /etc/mysql/my.cnf was bei max_allowed_packet steht .
Bei uns steht dort 16M , aber unsere Datensicherung ist auch nur 10Mb
Sollte dort weniger stehen auf 16M ändern und ein sudo servive mysql restart
scheinbar bricht der MySql Dienst ab , weil Dein Import File im zu gross ist !
Schau doch einmal unter /etc/mysql/my.cnf was bei max_allowed_packet steht .
Bei uns steht dort 16M , aber unsere Datensicherung ist auch nur 10Mb
Sollte dort weniger stehen auf 16M ändern und ein sudo servive mysql restart
Grüsse Detlef
______________________________________________________
CAO 1.5.0.41K
OsCommerce 2.3.1 aber nur als Katalog
10.1.37-MariaDB
Server Ubuntu Linux 16.04
Clienten 2 Ubuntu 16.04 Desktop mit Wine 4.0
______________________________________________________
CAO 1.5.0.41K
OsCommerce 2.3.1 aber nur als Katalog
10.1.37-MariaDB
Server Ubuntu Linux 16.04
Clienten 2 Ubuntu 16.04 Desktop mit Wine 4.0
Re: MySQL-4.1.22 funktioniert nicht unter Ubuntu 16.04/Mint1
womit importierst du denn? verwendest du ein tool, oder machst du das von der kommandozeile aus?MartinL hat geschrieben:
Allerdings bekomme ich jetzt die foldende Fehlermeldung wenn ich die db importieren möchte:
Was ist denn das schon wieder?ERROR 2013 (HY000) at line 130: Lost connection to MySQL server during query
Re: MySQL-4.1.22 funktioniert nicht unter Ubuntu 16.04/Mint1
Hallo zusammen,
Haben seit kurzem aus dasselbe Problem, daß MySQL4.1.22 unter Ubuntu 16.04 nicht funktioniert.
Hat schon jemand eine Lösung gefunden?
Danke schonmal.
Haben seit kurzem aus dasselbe Problem, daß MySQL4.1.22 unter Ubuntu 16.04 nicht funktioniert.
Hat schon jemand eine Lösung gefunden?
Danke schonmal.
Re: MySQL-4.1.22 funktioniert nicht unter Ubuntu 16.04/Mint1
Ich scheitere auch an der Installation. Habe ein RaspberryPi 3 B+ mit dem Raspbian OS.
Bin strikt nach Detlef.G's Anleitung vorgegangen
viewtopic.php?f=5&t=4615#p25709
Bekomme dann bei "make" 2 Fehler ausgeworfen.
Bei der Installation mit checkinstall bekomme ich folgenden Fehler:
Bin strikt nach Detlef.G's Anleitung vorgegangen
viewtopic.php?f=5&t=4615#p25709
Bekomme dann bei "make" 2 Fehler ausgeworfen.
Code: Alles auswählen
if g++ -DUNDEF_THREADS_HACK -I. -I. -I.. -I../include -I../include -I../regex -D_GNU_SOURCE -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -MT mysqlbinlog.o -MD -MP -MF ".deps/mysqlbinlog.Tpo" -c -o mysqlbinlog.o mysqlbinlog.cc; \
then mv -f ".deps/mysqlbinlog.Tpo" ".deps/mysqlbinlog.Po"; else rm -f ".deps/mysqlbinlog.Tpo"; exit 1; fi
mysqlbinlog.cc:538:1: error: narrowing conversion of ‘18446744073709551615ull’ from ‘ulonglong {aka long long unsigned int}’ to ‘longlong {aka long long int}’ inside { } [-Wnarrowing]
};
^
mysqlbinlog.cc:538:1: error: narrowing conversion of ‘18446744073709551615ull’ from ‘ulonglong {aka long long unsigned int}’ to ‘longlong {aka long long int}’ inside { } [-Wnarrowing]
Makefile:593: die Regel für Ziel „mysqlbinlog.o“ scheiterte
make[2]: *** [mysqlbinlog.o] Fehler 1
make[2]: Verzeichnis „/tmp/mysql-4.1.22/client“ wird verlassen
Makefile:459: die Regel für Ziel „all-recursive“ scheiterte
make[1]: *** [all-recursive] Fehler 1
make[1]: Verzeichnis „/tmp/mysql-4.1.22“ wird verlassen
Makefile:386: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
Code: Alles auswählen
test -z "/usr/lib/mysql" || mkdir -p -- "/usr/lib/mysql"
/usr/bin/install -c -m 644 'libmystrings.a' '/usr/lib/mysql/libmystrings.a'
ranlib '/usr/lib/mysql/libmystrings.a'
ranlib: could not create temporary file whilst writing archive: No more archived files
Makefile:584: die Regel für Ziel „install-pkglibLIBRARIES“ scheiterte
make[3]: *** [install-pkglibLIBRARIES] Fehler 1
make[3]: Verzeichnis „/tmp/mysql-4.1.22/strings“ wird verlassen
Makefile:816: die Regel für Ziel „install-am“ scheiterte
make[2]: *** [install-am] Fehler 2
make[2]: Verzeichnis „/tmp/mysql-4.1.22/strings“ wird verlassen
Makefile:459: die Regel für Ziel „install-recursive“ scheiterte
make[1]: *** [install-recursive] Fehler 1
make[1]: Verzeichnis „/tmp/mysql-4.1.22“ wird verlassen
Makefile:735: die Regel für Ziel „install“ scheiterte
make: *** [install] Fehler 2
**** Installation fehlgeschlagen. Breche Paket-Erzeugung ab.
Räume auf...OK
Auf Wiedersehen!
Re: MySQL-4.1.22 funktioniert nicht unter Ubuntu 16.04/Mint1
Hallo FreeUser ,
auf dieser Seite gibt es fertiges MySql : http://ftp.gwdg.de/pub/misc/mysql/Downl ... 686.tar.gz
Eine Anleitung gibt es nach dem Entpacken !!
auf dieser Seite gibt es fertiges MySql : http://ftp.gwdg.de/pub/misc/mysql/Downl ... 686.tar.gz
Eine Anleitung gibt es nach dem Entpacken !!
Grüsse Detlef
______________________________________________________
CAO 1.5.0.41K
OsCommerce 2.3.1 aber nur als Katalog
10.1.37-MariaDB
Server Ubuntu Linux 16.04
Clienten 2 Ubuntu 16.04 Desktop mit Wine 4.0
______________________________________________________
CAO 1.5.0.41K
OsCommerce 2.3.1 aber nur als Katalog
10.1.37-MariaDB
Server Ubuntu Linux 16.04
Clienten 2 Ubuntu 16.04 Desktop mit Wine 4.0
Re: MySQL-4.1.22 funktioniert nicht unter Ubuntu 16.04/Mint1
Vielen Dank Detlef.G für den Link! Ich habe mir die MYSQL v4.1.22 rausgepickt.
Habe die Readme durchgeackert.
Bekomme aber leider bei diesem Schritt eine Fehlermeldung:
Wenn ich die --force noch dranhänge bekomme ich folgende Meldung:
Habe die Readme durchgeackert.
Bekomme aber leider bei diesem Schritt eine Fehlermeldung:
pi@raspberrypi:/usr/local/mysql-standard-4.1.22-pc-linux-gnu-i686 $ sudo scripts/mysql_install_db --user=mysql
Code: Alles auswählen
scripts/mysql_install_db: 1: scripts/mysql_install_db: ./bin/my_print_defaults: Exec format error
Neither host 'raspberrypi' nor 'localhost' could be looked up with
./bin/resolveip
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with
the --force option
pi@raspberrypi:/usr/local/mysql-standard-4.1.22-pc-linux-gnu-i686 $ sudo scripts/mysql_install_db --user=mysql --force
Code: Alles auswählen
scripts/mysql_install_db: 1: scripts/mysql_install_db: ./bin/my_print_defaults: Exec format error
Installing all prepared tables
scripts/mysql_install_db: 1: eval: ./bin/mysqld: Exec format error
Installation of system tables failed!
Examine the logs in ./data for more information.
You can also try to start the mysqld daemon with:
./bin/mysqld --skip-grant &
You can use the command line tool
./bin/mysql to connect to the mysql
database and look at the grant tables:
shell> ./bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in ./data that may be helpful.
The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the ./bin/mysqlbug script!
Re: MySQL-4.1.22 funktioniert nicht unter Ubuntu 16.04/Mint1
Ich habe die 2 Dateien my_print_defaults und resolveip nach ./bin kopiert. Leider ist das Ergebniss das Selbe.
Re: MySQL-4.1.22 funktioniert nicht unter Ubuntu 16.04/Mint1
Die ganzen Konvertierungsfehler und vor allem "Exec format error" sprechen für ein Mix aus 32 und 64Bit.
Auf einem Raspberry läuft eigentlich ein 32Bit Linux. Da darfst du natürlich keinen 64 Bit MySQL Server installieren.
Auf einem Raspberry läuft eigentlich ein 32Bit Linux. Da darfst du natürlich keinen 64 Bit MySQL Server installieren.
Gruß Chris
"Derjenige, der sagt: "Es geht nicht", soll den nicht stören, der's gerade tut."
"Derjenige, der sagt: "Es geht nicht", soll den nicht stören, der's gerade tut."
Re: MySQL-4.1.22 funktioniert nicht unter Ubuntu 16.04/Mint1
Hallo zusammen,
unangenehme Zwischenfrage: warum eigentlich soviel Aufwand eine V1.4.x zum Laufen zu bringen, obwohl die nicht mehr weiter entwickelt wird? Oder habe ich was überlesen?
Helmut
unangenehme Zwischenfrage: warum eigentlich soviel Aufwand eine V1.4.x zum Laufen zu bringen, obwohl die nicht mehr weiter entwickelt wird? Oder habe ich was überlesen?
Helmut
Re: MySQL-4.1.22 funktioniert nicht unter Ubuntu 16.04/Mint1
Hallo ,
habe es gerade noch einmal getestet !
Auf Ubuntu 16.04. 64Bit !
Das entpackte Verzeichnis unter /usr/local kopiert , als mysql-4.1.21 umbenannt !
Dann mit sudo chown -R mysql:mysql /usr/local/mysql-4.1.21 die Group und User angepasst !
Mit cd /usr/local/mysql-4.1.21 ins Verzeichnis gegangen !
Das Script mit sudo scripts/mysql_install_db --user=mysql ausgeführt !
Dann mit bin/mysqld_safe --user=mysql & gestartet.
Ein ps -ax zeigt mir dann , es läuft !!
habe es gerade noch einmal getestet !
Auf Ubuntu 16.04. 64Bit !
Das entpackte Verzeichnis unter /usr/local kopiert , als mysql-4.1.21 umbenannt !
Dann mit sudo chown -R mysql:mysql /usr/local/mysql-4.1.21 die Group und User angepasst !
Mit cd /usr/local/mysql-4.1.21 ins Verzeichnis gegangen !
Das Script mit sudo scripts/mysql_install_db --user=mysql ausgeführt !
Dann mit bin/mysqld_safe --user=mysql & gestartet.
Ein ps -ax zeigt mir dann , es läuft !!
Grüsse Detlef
______________________________________________________
CAO 1.5.0.41K
OsCommerce 2.3.1 aber nur als Katalog
10.1.37-MariaDB
Server Ubuntu Linux 16.04
Clienten 2 Ubuntu 16.04 Desktop mit Wine 4.0
______________________________________________________
CAO 1.5.0.41K
OsCommerce 2.3.1 aber nur als Katalog
10.1.37-MariaDB
Server Ubuntu Linux 16.04
Clienten 2 Ubuntu 16.04 Desktop mit Wine 4.0
Re: MySQL-4.1.22 funktioniert nicht unter Ubuntu 16.04/Mint1
Das Raspberry Pi 3 B+ hat diese CPU: Broadcom BCM2837B0, Cortex-A53 (ARMv8) 64-bit SoC @ 1.4GHz.hh-cm hat geschrieben:Die ganzen Konvertierungsfehler und vor allem "Exec format error" sprechen für ein Mix aus 32 und 64Bit.
Auf einem Raspberry läuft eigentlich ein 32Bit Linux. Da darfst du natürlich keinen 64 Bit MySQL Server installieren.
Was wäre dann die richtige Mysql Version?
Danke, werde es heute Abend weiter Versuchen.Detlef.G hat geschrieben:Hallo ,
habe es gerade noch einmal getestet !
Auf Ubuntu 16.04. 64Bit !
Ein ps -ax zeigt mir dann , es läuft !!
LG
Freeuser
Re: MySQL-4.1.22 funktioniert nicht unter Ubuntu 16.04/Mint1
hei-ta hat geschrieben:Hallo zusammen,
unangenehme Zwischenfrage: warum eigentlich soviel Aufwand eine V1.4.x zum Laufen zu bringen, obwohl die nicht mehr weiter entwickelt wird? Oder habe ich was überlesen?
Helmut
Ich denke, da es immer noch ein gutes Produkt, macht es durchaus Sinn für den ein oder anderen die 1.4er zu nutzen ...
Nicht jeder benötigt jedes Gimmik
Besonders, wenne eher ein Sub-Unternehmer bis / lokaler B2B Handwerker (nichts mit online) und kein "Adressen-Sammler"
Re: MySQL-4.1.22 funktioniert nicht unter Ubuntu 16.04/Mint1
Eher das installierte Betriebssystem muss mit dem MySQL Server übereinstimmen. Ist das OS 32Bit, wird ein 64Bit MySQL nicht laufenDas Raspberry Pi 3 B+ hat diese CPU: Broadcom BCM2837B0, Cortex-A53 (ARMv8) 64-bit SoC @ 1.4GHz.
Was wäre dann die richtige Mysql Version?
Gruß Chris
"Derjenige, der sagt: "Es geht nicht", soll den nicht stören, der's gerade tut."
"Derjenige, der sagt: "Es geht nicht", soll den nicht stören, der's gerade tut."
Re: MySQL-4.1.22 funktioniert nicht unter Ubuntu 16.04/Mint1
Habe nun GCC und G++ auf version 4.7 downgegradet:
Dannach wurde der "make && make install" Befehl ohne Fehler ausgeführt.
Weiter bin ich nun nach der Anleitung von Christian vorgegangen.
Als nächstes kam "/usr/local/mysql4/bin/mysql_install_db"
Wieder ein Fehler. Kann ich trotzdem nach Anleitung fortfahren?
Code: Alles auswählen
Run following command in Terminal as a root or use sudo.
apt-get update
apt-cache search gcc | grep gcc (this will show you different version of gcc)
apt-get install gcc-4.7
rm /usr/bin/gcc
ln -s /usr/bin/gcc-4.7 /usr/bin/gcc ( this will create symbolic links for gcc)
ls -la /usr/bin/ | grep gcc (check symbolic links you created)
gcc -v
You also need to downgrade g++ , you can follow same step and replace g++ in place of gcc.
Weiter bin ich nun nach der Anleitung von Christian vorgegangen.
Als nächstes kam "/usr/local/mysql4/bin/mysql_install_db"
Code: Alles auswählen
Installing all prepared tables
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.
key_buffer_size=8388600
read_buffer_size=131072
max_used_connections=0
max_connections=100
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 225791 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Installation of system tables failed!
Examine the logs in /usr/local/mysql4/var for more information.
You can also try to start the mysqld daemon with:
/usr/local/mysql4/libexec/mysqld --skip-grant &
You can use the command line tool
/usr/local/mysql4/bin/mysql to connect to the mysql
database and look at the grant tables:
shell> /usr/local/mysql4/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /usr/local/mysql4/var that may be helpful.
The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/local/mysql4/bin/mysqlbug script!
root@raspberrypi:/home/pi/mysql-4.1.22# /usr/local/mysql4/bin/mysql_install_db
Installing all prepared tables
Fill help tables
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.
key_buffer_size=8388600
read_buffer_size=131072
max_used_connections=0
max_connections=100
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 225791 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
WARNING: HELP FILES ARE NOT COMPLETELY INSTALLED!
The "HELP" command might not work properly
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/local/mysql4/bin/mysqladmin -u root password 'new-password'
/usr/local/mysql4/bin/mysqladmin -u root -h raspberrypi password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/local/mysql4/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
You can start the MySQL daemon with:
cd /usr/local/mysql4 ; /usr/local/mysql4/bin/mysqld_safe &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests
Please report any problems with the /usr/local/mysql4/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Re: MySQL-4.1.22 funktioniert nicht unter Ubuntu 16.04/Mint1
Habs endlich geschafft!
Hab das Ganze dokumentiert und hier als Anleitung veröffentlicht.
Hab das Ganze dokumentiert und hier als Anleitung veröffentlicht.