Forum Moderators: open
ive instaled apache on my laptop, i then installed php5 and it worked to my surprise then i installed mysql server into the root of the apache server folder on C:\
Problem =
i can run the winmysqladmin and see the test database, but i want to be able to access this database on localhost using php and edit the tables using mysqlcc GUI.
Ive tried to simply connect via the htdocs folder and sticking in a conn.php file but it throws up this error
Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\htdocs\conn.php on line 10
and when i try to connect using mysqlcc the GUI i get an access denied error for user myusername@localhost using password = yes.
Hmmmm as you can see im pretty new to this area of development and im stressing,
could someone tell me how the hell to connect using mysqlcc to the new database i installed on c drive apache folder,
i also need to know how to create a new databases using mysql. command prompt?
ohhhhhhhh i dunno ill leave this in the trusted hands of the internet masters,
me x
Troubleshooting Steps for PHP/Apache on windows [webmasterworld.com]
please help guys as im getting a right fo%*£Wn headache from it all,
regards,
Diegomh7
Post the code you are trying to use (minus the passwords of course) and let us take a look at it.
Take a look at this to see if it helps
[us3.php.net...]