Lampp - MySQL in PHP doesn't work

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Lampp - MySQL in PHP doesn't work

Postby uso » 07. April 2007 00:09

I started up by posting in the wrong forums - GG! Now Im re-posting it here, in what I think is the right forum :)

C/p:

Hello.

I am danish, and that is the reason why I write in english here. I dont understand german very good, so please answer me back in english.

Today I installed Lampp on a Debian machine of mine, which was completely empty. I started the Lampp service, no errors, stopped the FTP (and installed vsftpd instead) and did some chmod of /opt/lampp/htdocs to ensure users actually got access to see the pages. (755)

Then I logged into the MySQL and created a new user that I could connect to, from anywhere.

So far, no errors because of some reason I didn't run the test pages.
Now, I installed a completely fresh installation of PHP-Fusion. Find it here: http://www.php-fusion.co.uk
I set it up to connect to its IP with the userdata that I wrote before, and pressed next. Now comes the errors.

Unable to establish connection to MySQL
1044 : Access denied for user ''@'localhost' to database 'testdb'

...Okay? So, I thought I had mistyped some settings or so. I checked it, and they were right. Then I uploaded the fusion installation to another webhost, and that had no errors.
Then I came by the ip/xampp page and saw the CD-collection-test-page. Same shit there, couldn't connect.

The problem isn't MySQL since everyone but the machine itself in a browser, can connect. Did I miss some configurations of something, somewhere? I really dont understand it...

Thanks in advance for any help,
UsO
uso
 
Posts: 4
Joined: 06. April 2007 23:59

Postby Wiedmann » 07. April 2007 00:41

and saw the CD-collection-test-page. Same shit there, couldn't connect.

Why not? --> error message.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby uso » 07. April 2007 02:40

Wiedmann wrote:
and saw the CD-collection-test-page. Same shit there, couldn't connect.

Why not? --> error message.

Okay.....Fixed this with some permissions that was misconfigured.

But my other pages are still the same. :/
uso
 
Posts: 4
Joined: 06. April 2007 23:59

Postby Wiedmann » 07. April 2007 02:51

Fixed this with some permissions that was misconfigured.

You can explain this more detailed?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby uso » 07. April 2007 03:19

Wiedmann wrote:
Fixed this with some permissions that was misconfigured.

You can explain this more detailed?


No, Im afraid not :-/ Because what I really did, I am not so sure about.

But well - I got everything to work now some way :S Nvm.
uso
 
Posts: 4
Joined: 06. April 2007 23:59

Postby uso » 08. April 2007 02:04

What should I do to make sure that when new folders are made/files/etc, that the permissions is set correct? Because when I add a new site here, I have to do the permissions allover again for that site.
uso
 
Posts: 4
Joined: 06. April 2007 23:59


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 5 guests