This forum is no longer active. Please post your questions to our new community site
WAMP and WAPP
|
|
Greetings, I have WAPP installed, up and running great, but I also need a MySQL server. My first thought was to just install MySQL on it’s own, but it kept getting hung up in installation, so I thought “ok, I will just run a WAMP too”. Didn’t seem like it’d be a big deal. I’ll just have two localhost links basically, one for port 80 and one for port whatever else (I chose 81). It works great… almost… When I do a mysql_connect with ‘localhost’ and my username and password it does throw any errors until I try to query a table I set up in the database, “supplied argument is not a valid MySQL result resource” So the server works, I can access the files from 127.0.0.1:81, but whenever I try to query against the db it says it’s an invalid resource, but when I run the same query in phpMyAdmin, it works fine. Am I missing something? Sorry if this seems choppy, I’m heading out from work right now and just wanted to post this quick in case it’s an easy “gotcha.” If not I will be home later to post more details. Thanks in advance, |
|
|
new development, if I just use the root user and initial password from setup, it works fine… so it must be something with the way I’m setting up my new user in phpMyAdmin… |
|
|
hmmm yeah, I guess that was it.. I got it working just by adding a user with access to 127.0.01, localhost, and % (was just % before but didn’t seem to like it) |

