MySQL Forums
Forum List  »  German

Erledigt: MySQL Backup - Fehlermeldung auf neuem Server
Posted by: Caylean Koar
Date: September 02, 2010 08:51PM

Problem gelöst!

Hallo zusammen,

ich habe das Problem dass ich auf einen neuen Server umziehen muss und mir dabei ein Linkscraper (Tool zum nachverfolgen der internen und externen Verlinkung) offensichtlich nicht mitspielen will.

Beim Backup auf den neuen Server tritt folgendes Problem auf:
_____________________________________________________________
Der Import wurde erfolgreich abgeschlossen, 39 Abfragen wurden ausgeführt.

-- MySQL dump 10.13 Distrib 5.1.48, for pc-linux-gnu (i686)
--
-- Host: localhost Database: DB_NAME
-- ------------------------------------------------------
-- Server version 5.1.48

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;# MySQL lieferte ein leeres Resultat zurück (d. h. null Zeilen).
_____________________________________________________________

Der Inhalt der *.sql.gz sieht folgendermaßen aus:
_____________________________________________________________
-- MySQL dump 10.13 Distrib 5.1.48, for pc-linux-gnu (i686)
--
-- Host: localhost Database: DB_NAME
-- ------------------------------------------------------
-- Server version 5.1.48

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `sites`
--

DROP TABLE IF EXISTS `sites`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sites` (
`url` longtext COLLATE utf8_unicode_ci NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sites`
--

LOCK TABLES `sites` WRITE;
/*!40000 ALTER TABLE `sites` DISABLE KEYS */;
INSERT INTO `sites` (`url`) VALUES ('example.com');
/*!40000 ALTER TABLE `sites` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `urls`
--

DROP TABLE IF EXISTS `urls`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `urls` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`from_fullurl` longtext NOT NULL,
`from_domain` longtext NOT NULL,
`from_ip` varchar(15) NOT NULL,
`from_cip` int(11) NOT NULL,
`to_fullurl` longtext NOT NULL,
`to_domain` longtext NOT NULL,
`to_ip` varchar(15) NOT NULL,
`to_cip` int(11) NOT NULL,
`keyword` longtext NOT NULL,
UNIQUE KEY `ID` (`ID`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `urls`
--

LOCK TABLES `urls` WRITE;
/*!40000 ALTER TABLE `urls` DISABLE KEYS */;
INSERT INTO `urls` (`ID`, `from_fullurl`, `from_domain`, `from_ip`, `from_cip`, `to_fullurl`, `to_domain`, `to_ip`, `to_cip`, `keyword`) VALUES (1,'example.com','example.com','192.0.32.10',32,'http://www.rfc-editor.org/rfc/rfc2606.txt','www.rfc-editor.org','64.170.98.47',98,'RFC \r\n 2606');
/*!40000 ALTER TABLE `urls` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2010-09-02 21:25:26
_____________________________________________________________

Auf dem alten Server läuft das Tool noch sauber, aber sobald ich das Backup auf den neuen Server spiele hängt es sich auf folgendermaßen auf:
_____________________________________________________________

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/XXXXX/public_html/linkscraper/index.php on line 7
_____________________________________________________________

Hat vielleicht hier jemand einen Rat oder weiß wo ich den Fehler mache das es zu den komplikationen kommt?

Grüße
Caylean



Edited 1 time(s). Last edit at 09/02/2010 09:01PM by Caylean Koar.

Options: ReplyQuote


Subject
Views
Written By
Posted
Erledigt: MySQL Backup - Fehlermeldung auf neuem Server
3156
September 02, 2010 08:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.