Page 1 of 1

MySQL connection

PostPosted: 03. September 2005 16:45
by Hunter
Hello. My MysQLS will not work correctly as you can see here: http://83.227.193.230/xampp/status.php
and as you can see here:
http://83.227.193.230/phpmyadmin/
the error looks to be that my MySQL and phpMyAdmin dont getting any connection to each other.
Think this is strange becouse I have installed it right now without any changes. Shouldent it work automaticly then?
Would greatful if anyone could tell me what could be wrong.
My goal is to put up an database.

PostPosted: 03. September 2005 16:54
by Wiedmann
Maybe there is a problem/conflict with the MySQL server in "C:\Program\MySQL\MySQL Server 4.1\bin"...

PostPosted: 03. September 2005 20:07
by Hunter
Should it not be ""C:\Program\xampp\mysql\bin"?

Just realised I had(guess it´s the old one) at "C:\Program\MySQL\MySQL Server 4.1\bin".

Do you think it might be an conflict becouse of this? Should change any settings in them or remove any of them?

edit: Think I whant to know my MySQL login. Cant find anywhere to create it. And as I said I havent done anything after the innstallation

PostPosted: 04. September 2005 16:27
by Hunter
I did uninstall EVERYTHING. Then i installed xampp again.
After the installation apache was working fine and I whanted to create my database in MySQL. But I´m getting this error:

http://83.227.193.230/error.gif

Just woundering: What have I missed?...........

PostPosted: 04. September 2005 16:48
by Wiedmann
There is something wrong with the picture.

Can you make a normal post with the error message?

PostPosted: 04. September 2005 17:19
by Hunter
Thats strange. But whell, here it is in "cmd":
C:\xampp\mysql\bin>mysql -u root
ERROR 2003 (HY000): Can´t connect to MySQL server on 'localhost' (10061)

PostPosted: 04. September 2005 17:28
by Wiedmann
There is no MySQL-Server running on localhost?

PostPosted: 04. September 2005 19:11
by Hunter
AHA! Had to start it with "mysql_start" icon located in "C:\xampp". Thanks. I have also created an database now and tried to install phpBB forum but getting an error when installing that says:
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in C:\xampp\htdocs\phpBB2\db\mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in C:\xampp\htdocs\phpBB2\db\mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database


The problem is that my "mysql4.php" file is only 7 lines totaly(and they are LONG). Anyone know what I should do to fix that error?

PostPosted: 04. September 2005 19:45
by Wiedmann
The problem is that my "mysql4.php" file is only 7 lines totaly(and they are LONG).


Could not connect to the database

IMHO you give the phpBB setup script the wrong details (Host/DB/User/Pass) for MySQL.

PostPosted: 04. September 2005 20:55
by Hunter
You are as always right Wiedmann. I created a new database and then it all worked out. Thans a lot for all your help (your comments did get me keep on going) ;)