Page 1 of 1

Lampp - MySQL in PHP doesn't work

PostPosted: 07. April 2007 00:09
by uso
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

PostPosted: 07. April 2007 00:41
by Wiedmann
and saw the CD-collection-test-page. Same shit there, couldn't connect.

Why not? --> error message.

PostPosted: 07. April 2007 02:40
by uso
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. :/

PostPosted: 07. April 2007 02:51
by Wiedmann
Fixed this with some permissions that was misconfigured.

You can explain this more detailed?

PostPosted: 07. April 2007 03:19
by uso
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.

PostPosted: 08. April 2007 02:04
by uso
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.