Lampp - MySQL in PHP doesn't work
Posted: 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
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