exposing MySQL to REST

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
therekz
Forum Newbie
Posts: 2
Joined: Sat Nov 20, 2010 11:09 pm

exposing MySQL to REST

Post by therekz »

I've been trying to use http://phprestsql.sourceforge.net/ package to expose my MySQL database to a REST interface The instruction says to modify the phprestsql.ini to the database settings that I have. I did that already.

I have created a subdomain in my main domain (for example my domain name is test.com, and I have rest.test.com that points to test.com/rest; I have a folder called rest inside my root domain). This is where I put all the necessary files, including phprestsql.ini. However, when I try to open the URL it keeps asking me the server at test.com:80 at PHPRestSQL requires a username and password. What am I doing wrong here??
Post Reply