-1

I am trying to connect a html form to my sql database using php file and on xampp server,please help me I need to sumbit a project website to my teacher next week. I have attached the snip of the xamp server if it is of any help. Its my first time using localhost server.

I have also tried wamp server but non of these method working i have checked other methods here on stack and tried those to but they are not working

I want to send data from my html form to my database using a local host to show to my teacher that my website is working properly. enter image description here enter image description here

user607464
  • 23
  • 6

1 Answers1

0

You can uninstall xampp, and wamp. After that, just install one of them.

meotig
  • 76
  • 5
  • 1
    I had only wamp server it didnt worked so i uninstalled that, then i installed xampp thats why i have written in my question that its not working on both of them. – user607464 Oct 26 '19 at 11:44
  • Oh i see on image description part 2, that is another mysqld service was running on your windows machine, it means each mysqld service run, it use a port to work. i think your windows run two or more instance mysqld server, maybe from your xampp or wampp, because both of them not clearly uninstalled. Try to restart your windows, and then just delete them. if it unable to delete, try to boot your windows on safe mode. – meotig Oct 26 '19 at 11:48
  • All my friends are using it phpmyadmin on wamp server but mine wasnt workings then someone suggested me to changed to xampp now its not working, if you can say with guarantee if i can uninstall xampp and reinstall it. – user607464 Oct 26 '19 at 11:48
  • Try to boot in safe mode, and just delete the files on C:/xampp and C:/wampp – meotig Oct 26 '19 at 11:53
  • Hey, i read on above, about another comment to change the port mysqld server to 3307, it's right way, why must be change? The default port in mysql is 3306, if you cannot start service mysql, its indicate the port 3306 has been used by another program. After you change the port and success run mysqld service, the next step is change configuration in your phpmyadmin. Yes you must change the code inside directory C:/xampp/phpMyAdmin/config.inc.php, open it in text editor, find line of code start with $cfg['Servers][$i]['host'] = '127.0.0.1'; change host to 127.0.0.1:3307, and then save. – meotig Oct 26 '19 at 12:11