im kinda a novice and in php i am trying to connect to mysql the i installed the wamp server that has the apacheserver,phpmyadmin and mysql now to connect to the mysql is a problem for me i cant. can someone help me

Recommended Answers

All 2 Replies

if you are using Windows OS, you can reach mysql by opening a browser and entering into the address http://localhost/phpmyadmin , to access an interactive mysql "explorer"...

if you're using unix, open a shell terminal, go to the folder where you installed wampp, (lampp in this case), and input mysql

Did you have a previous version of mysql installed before you installed wamp? If so, then you are trying to run both versions on port 3306. You will either have to delete the old one or configure one of them to run on a different port.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.