Autor Beitrag
rizla
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 417
Erhaltene Danke: 2

XP
FPC mit Lazarus
BeitragVerfasst: Fr 27.04.07 15:51 
Hi,
da google mir net wirklich weiterhilft.. vllt weiß ja jmd ne lösung:
habe mir xampp-portable "gemacht", sprich einfach den xamppliteordner ins root eines usb-sticks kopiert, so stehts ja in der anleitung.
auf meinem rechner funktioniert alles, apache, mysql pi pa po.
allerdings funktioniert mysql nicht auf einem anderen rechner,
wenn ich das mit der xampp-control starte, läufts kurz, wird danach jedoch wieder beendet. die mysql-logs geben folgendes:

070427 16:16:55 [ERROR] Fatal error: Can't open and lock privilege tables: File '.\mysql\host.MYD' not found (Errcode: 2)

probier ichs allerdings auf meinem lapi, funktioniert alles (glaub ich doch - habe es dort nur einmal probiert, zumal ich auf dem die komplette version von xampp drauf habe.)
die "host.myd" existiert allerdings. irgend jemand ne lösung?

tia :r:

_________________
if you have what they want - they'll find a way to take it (bruce sterling)
WOW - 10 JAHRE Mitglied beim Delphi-Forum. Wie die Zeit vergeht, Freunde.
freak4fun
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 604
Erhaltene Danke: 4

Win 7 Pro
VS 2013 Express, Delphi, C#, PHP, Java
BeitragVerfasst: Fr 27.04.07 15:53 
Mit welchen Benutzerrechten arbeitest du?

_________________
"Ich werde auf GAR KEINEN Fall…!" - "Keks?" - "Okay, ich tu's."
i++; // zaehler i um 1 erhoehen
rizla Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 417
Erhaltene Danke: 2

XP
FPC mit Lazarus
BeitragVerfasst: Fr 27.04.07 15:56 
ah, stimmt, hier bin ich nicht als SU resp. admin angemeldet.
kanns daran leigen? oder vllt an einer fritzbox, die hier auch noch läuft?

_________________
if you have what they want - they'll find a way to take it (bruce sterling)
WOW - 10 JAHRE Mitglied beim Delphi-Forum. Wie die Zeit vergeht, Freunde.
freak4fun
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 604
Erhaltene Danke: 4

Win 7 Pro
VS 2013 Express, Delphi, C#, PHP, Java
BeitragVerfasst: Fr 27.04.07 16:00 
Hm... da mehrere Möglichkeiten. Hast du den Xampp-Server auf dem USB-Stick installiert?

Du könntestr unter Umständen kein Schreibrechte haben, aber das glaub ich eigentlich nicht.

Edit: datadir="/xampplite/mysql/data" in my.cnf (mysql/bin) anpassen
Ich vermute du hast es installiert, dadurch sind die Pfade absolut und der USB-Stick hat am anderen Rechner einen anderen Laufwerksbuchstaben.

Oh, schau mal trotzdem nach. ;)


MfG
freak

_________________
"Ich werde auf GAR KEINEN Fall…!" - "Keks?" - "Okay, ich tu's."
i++; // zaehler i um 1 erhoehen


Zuletzt bearbeitet von freak4fun am Fr 27.04.07 16:07, insgesamt 2-mal bearbeitet
rizla Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 417
Erhaltene Danke: 2

XP
FPC mit Lazarus
BeitragVerfasst: Fr 27.04.07 16:05 
nee, soll man ja nicht machen
Zitat:
auf einem usb-stick wird xampp nicht wirklich installiert, sondern es wird nur der ordner xampp draufgespielt.
hilfreich ist auch die readme_de.txt.
da steht u.a. das hier:
Für den USB Stick nicht die "setup_xampp.bat" nutzen, um ihn auch transportabel nutzen zu können!
also einfach nur den ordner rüberkopieren und xampp_start.exe starten.


so ists geschehen..

_________________
if you have what they want - they'll find a way to take it (bruce sterling)
WOW - 10 JAHRE Mitglied beim Delphi-Forum. Wie die Zeit vergeht, Freunde.
freak4fun
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 604
Erhaltene Danke: 4

Win 7 Pro
VS 2013 Express, Delphi, C#, PHP, Java
BeitragVerfasst: Fr 27.04.07 16:10 
Suche bei Google GOOGLESUCHE und Ergebnisse auf Deutsch. ;)

_________________
"Ich werde auf GAR KEINEN Fall…!" - "Keks?" - "Okay, ich tu's."
i++; // zaehler i um 1 erhoehen
rizla Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 417
Erhaltene Danke: 2

XP
FPC mit Lazarus
BeitragVerfasst: Fr 27.04.07 16:24 
tja, dann bin ich ja wieder da, wo ich um 10 vor 5 schon war..
also keene lösung? hmm

_________________
if you have what they want - they'll find a way to take it (bruce sterling)
WOW - 10 JAHRE Mitglied beim Delphi-Forum. Wie die Zeit vergeht, Freunde.
freak4fun
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 604
Erhaltene Danke: 4

Win 7 Pro
VS 2013 Express, Delphi, C#, PHP, Java
BeitragVerfasst: Fr 27.04.07 16:26 
Hm... wie sieht denn deine my.cnf aus? Altn. Datenbanken und Seiten kopieren und neu drauf. ;)

_________________
"Ich werde auf GAR KEINEN Fall…!" - "Keks?" - "Okay, ich tu's."
i++; // zaehler i um 1 erhoehen
rizla Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 417
Erhaltene Danke: 2

XP
FPC mit Lazarus
BeitragVerfasst: Fr 27.04.07 16:30 
die cnfs sind original und die pfade stimmen alle

Zitat:

[mysqld]
basedir="xampplite/mysql"
tmpdir="xampplite/tmp"
datadir="xampplite/mysql/data"


hab mal spassenshalber den entsprechenden lw.buchstaben davor gepackt (also h:/xampplite..), aber das bringts auch net.
vllt sollt ich das mal mit admin. rechten probieren..

_________________
if you have what they want - they'll find a way to take it (bruce sterling)
WOW - 10 JAHRE Mitglied beim Delphi-Forum. Wie die Zeit vergeht, Freunde.
rizla Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 417
Erhaltene Danke: 2

XP
FPC mit Lazarus
BeitragVerfasst: Fr 27.04.07 16:55 
so, nun ist der fehler:
"Table 'mysql.host' not found"
(und die hab ich definitiv nicht gelöscht) - wo krieg ich die nun her? von hand anlegen? :gruebel:
ich geh kaputt, ey

_________________
if you have what they want - they'll find a way to take it (bruce sterling)
WOW - 10 JAHRE Mitglied beim Delphi-Forum. Wie die Zeit vergeht, Freunde.