Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PHP Verbindung auf MySQL (anderer Rechner) = Crash

Empfohlene Antworten

Hi

Ich hab hier irgendwie ein tierisches Problem: Ich will von einem Webserver mit PHP auf die MySQL Datenbank auf einem anderen Rechner zugreifen. Sobald er aber den Connect macht, stürzt MySQL ab und startet neu. HILFE!

MySQL Version 3.23.55 Linux

PHP 4.2.3

Hier mein PHP Aufruf:

$conn = @mysql_connect("192.168.0.100", "benutzer", "geheim") or die("Could not connect: " . mysql_error());

Die Ausgabe im Webbrowser:

Could not connect: Lost connection to MySQL server during query

Ausgabe von MySQL in Linux:

mysqld process hanging, pid 12345 - killed

mysqld restarted

Ab und zu kommt im Linux noch die Meldung:

./safe_mysqld :Line 280 :26191 Segmentation fault .......

Heeeelp

Noxy

Hat sich erledigt, war ein bekanntes Problem.

Für alle die es interessiert: mysqld muss mit dem switch

--skip-name-resolve gestartet werden oder man muss die Binaries von der mysql Seite verwenden und nicht die Sources

Noxy

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.