Author Topic: MySQL - Unexprected Error...  (Read 6269 times)

0 Members and 1 Guest are viewing this topic.

Offline ^quit

  • Newbie
  • *
  • Posts: 20
    • View Profile
MySQL - Unexprected Error...
« on: July 26, 2007, 01:45:42 PM »
Hi,
ich hab die Daten für die Datenbank in der config.php geändert (wegen Serverwechsel) und jetzt funktioniert die Gallerie nichtmehr.
Immer wenn ich sie starten will, kommt:
Quote
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /var/www/users/timmeeey/kram/gallerie/includes/db_mysql.php on line 39

An unexpected error occured. Please try again later.
(siehe: http://timmeeey.kilu3.de/kram/gallerie)

Liegt das an den falschen Datenbankeinstellungen oder hat das 'nen anderen Grund?

mfg
^quit

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: MySQL - Unexprected Error...
« Reply #1 on: July 26, 2007, 02:50:14 PM »
weiss jetzt nicht wie deine config.php aussieht.

probiere es aber hiermit:
Code: [Select]
$db_host = "localhost";
falls eine ip oder ein hostname eingetragen ist.
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline ^quit

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: MySQL - Unexprected Error...
« Reply #2 on: July 26, 2007, 02:55:15 PM »
jetzt ist der MySQL fehler zwar weg, aber es heisst immer noch:
Quote
An unexpected error occured. Please try again later.
ERROR: Could not load configuration settings!

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: MySQL - Unexprected Error...
« Reply #3 on: July 26, 2007, 03:01:02 PM »
irgendwas ist da im busch. da jetzt die mysql DB nicht ausgelesen werden kann.
"$lang['no_settings'] = "ERROR: Could not load configuration settings!";"

hast du den mysql backup vom alten server auch eingespielt?
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline ^quit

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: MySQL - Unexprected Error...
« Reply #4 on: July 26, 2007, 03:23:01 PM »
äm nein
nur reines copy&paste von server zu server...

wie funktioniert das mit dem Backup einspielen?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: MySQL - Unexprected Error...
« Reply #5 on: July 26, 2007, 06:05:51 PM »
ja, für die bilder und die dateien.

was ist aber mit der mysql datenbank? hast du von dieser auch einen backup?
wenn ja, dann am besten mit dem phpmyadmin die irgendwas.sql datei, in die richtige datenbank auf dem neuen server, einspielen.

wenn du es nicht hast, dann schauts schlecht aus, ausser du hast noch zugang zu deinem alten server.
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline ^quit

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: MySQL - Unexprected Error...
« Reply #6 on: July 26, 2007, 06:46:10 PM »
jo, der alte server ist noch online (gehostet auf funpic.de)
Kann ich mir selbst ein Backup erstellen, oder muss das mein Hoster für mich tun?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: MySQL - Unexprected Error...
« Reply #7 on: July 26, 2007, 06:55:46 PM »
kannst selber machen.
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline ^quit

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: MySQL - Unexprected Error...
« Reply #8 on: July 27, 2007, 01:10:17 PM »
jo ok.
hab mir da jetzt auch schon ein paar sachen bei google angeschaut, und beispielsweise mysqldump gefunden.
nur leider blick' ich da gar nicht durch.
gibts da programme, die das machen, oder gibts ne anderweite hilfe für mich?

//edit:

hab bemerkt, dass beide hoster phpmyadmin haben und habs damit versucht. hat soweit funktioniert, nur beim importieren gibts noch paar probleme, aber ich glaub, damit belast ich euch jetzt nichtmehr
danke für die hilfe :)

mfg
« Last Edit: July 28, 2007, 09:09:07 AM by ^quit »