0

I am trying to connect my website to MySQL on localhost under WAMP.

Whenever I enter my details in the MySQL connection tab and click "databases", it crashes and gives me the error:

A server timeout has occurred. Here are the possible reasons.

  1. Please make sure that the web server is up and running.
  2. Please verify that the ODBC DSN exists on the testing server.

The web server is up and running but I'm not sure how to do the second step. I also changed the ports to 81 so not sure if I messed something up in doing that.

I also know to this and these forums so thanks for your help :)

Sumit Munot
  • 3,748
  • 1
  • 32
  • 51
Louis
  • 40
  • 8

1 Answers1

0

I found the problem!

When I was setting up the database connection, for the MySQL option I was including the apache port.

For anyone else with the same problem, make sure you just have localhost as opposed to localhost:8888

What I'm talking about

Seems so obvious now.

Álvaro González
  • 142,137
  • 41
  • 261
  • 360
Louis
  • 40
  • 8