Page 1 of 1

PHP-mysql connection !

Posted: Tue Jun 03, 2003 7:58 am
by dmakris
Hi.
I have installed Apache 1.3, PHP 4.0 and mysql 3.23.33 in a windows XP system.
Everything seems to be working except that i can't connect to mysql server (the server is running) when i execute any php script.
I haven't made any changes to any configuration file like php.ini or anything else.
Thanks in advance...
:roll:

Posted: Tue Jun 03, 2003 8:08 am
by twigletmac
Do you get any error messages? What does the code look like that you are using to connect to the database?

Mac

Posted: Tue Jun 03, 2003 8:53 am
by Takuma
Have you setusername and password for MySQL? if you have you need to use it, if you haven't, don't use mysql_connect().

Posted: Tue Jun 03, 2003 9:02 am
by dmakris
Thanks !!!
It was so simple as i had to create new users.
So silly of me :oops:
Do u know any tool for administration of the sql server (except mysql administration) that I can use to create tables or users in win xp?
Thank you very much

Posted: Tue Jun 03, 2003 9:03 am
by Takuma
Script based - phpMyAdmin
Program based - Go to mysql.com and you'll find several

Posted: Tue Jun 03, 2003 9:25 am
by twigletmac
Link for phpMyAdmin:
http://www.phpmyadmin.net

Mac