Apache Friends Support Forum

It is currently 21. November 2009 01:24

All times are UTC + 1 hour




Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: 26. January 2004 15:55 
Offline
User avatar

Joined: 12. January 2003 14:33
Posts: 54
I dont get thanks you helping me so good!

I now get:

ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)
Can't access database. Is MySQL running? Added the MySQL root password to end of command line?

_________________
"Keep your face in the sunshine so the shadows fall behind you!"

Repute | http://www.repute.nl


Top
 Profile  
 
 Post subject:
PostPosted: 26. January 2004 15:58 
Offline
Apache Friends
User avatar

Joined: 26. December 2002 19:51
Posts: 2676
Location: Berlin, Germany
Are you sure you added your password at the end of the command line?

The message (Using password: NO) indicates that you don't added a password.

Does your password contains special characters? Chars like ! or " or #?

Greetings
Oswald


Top
 Profile  
 
 Post subject:
PostPosted: 26. January 2004 15:59 
Offline
User avatar

Joined: 12. January 2003 14:33
Posts: 54
Yes I use _ (undersquares) :D

_________________
"Keep your face in the sunshine so the shadows fall behind you!"

Repute | http://www.repute.nl


Top
 Profile  
 
 Post subject:
PostPosted: 26. January 2004 16:05 
Offline
Apache Friends
User avatar

Joined: 26. December 2002 19:51
Posts: 2676
Location: Berlin, Germany
Hmm... _ (underscores) are no problem.

Ahhh... stupid me!!!!

You found a bug! ;)

Again... please take your favourite editor and edit /opt/lampp/lampp.

At line 400 you find:

/opt/lampp/share/lampp/backup

Please add a space and $2 to the end of this line. Like this:

/opt/lampp/share/lampp/backup $2

And now try again. Now it should work perfectly. :)

Repute, thanks for "finding" this bug!!!

Greetings
Oswald


Top
 Profile  
 
 Post subject: Yessssssssssss
PostPosted: 26. January 2004 16:10 
Offline
User avatar

Joined: 12. January 2003 14:33
Posts: 54
YESSSSSSSS great we have fixed a bug :D

Thanx for your realtime help!

Greets,

Repute

_________________
"Keep your face in the sunshine so the shadows fall behind you!"

Repute | http://www.repute.nl


Top
 Profile  
 
 Post subject:
PostPosted: 27. January 2004 15:16 
Offline

Joined: 27. January 2004 14:22
Posts: 36
Location: Oxford
And now, how do you restore the backup (should you need to)?


Top
 Profile  
 
 Post subject:
PostPosted: 27. January 2004 15:34 
Offline
Apache Friends
User avatar

Joined: 26. December 2002 19:51
Posts: 2676
Location: Berlin, Germany
Dear Nick!

The backup file is a self-restoring shell script. So you only need to call

sh xampp-backup-XX-XX-XX.sh

to restore the backup.

See also: http://www.apachefriends.org/faq-lampp-en.html#backup

Best regards and good look
Oswald


Top
 Profile  
 
 Post subject:
PostPosted: 27. January 2004 15:42 
Offline

Joined: 27. January 2004 14:22
Posts: 36
Location: Oxford
I am sorry, everything i needed to know was just there under my eyes...sorry, i'm still learning the linux way....


Top
 Profile  
 
 Post subject: special Characters in passwords
PostPosted: 13. September 2005 08:44 
Offline

Joined: 23. May 2005 12:06
Posts: 7
Hello,
i have the same problem! I find the correct statement in the line

/opt/lampp/share/lampp/backup $2

in the lampp script, but i have a '!' charakter in my Password. When i try to make a backup with command

/opt/lampp/lampp backup password_with_!

i get following error message:

-bash: !03: event not found

What can i do? How can i change my password for MySQL-root?

Thanks for help!


Top
 Profile  
 
 Post subject:
PostPosted: 13. September 2006 22:34 
Offline

Joined: 04. September 2006 10:04
Posts: 6
try escaping it, but i doubt it will work.


Top
 Profile  
 
 Post subject: Re: Transfer chmodded folders
PostPosted: 21. January 2009 09:38 
Offline

Joined: 21. January 2009 09:33
Posts: 1
Thank You Oswald,

Editing the /opt/lampp/share/lampp/backup

d=`echo "show databases" | /opt/lampp/bin/mysql -uroot $passwd 2>/dev/null`
to
d=`echo "show databases" | /opt/lampp/bin/mysql -uroot $passwd`

did it for me.

I had also to put the escape char \ in the password because my password had the # sign in it at beginning and at end , so I did it like this: ..lampp backup \#secret\#

EDIT: I do recommend you guys to try entering the correct password first and if that doesn't work then go and modify the files listed in the post.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group