PDA

View Full Version : Database connection problem - dbname.json not found



bbentham
05-11-2008, 06:52 AM
I get the error "The requested URL /username_db.json was not found on this server" when trying to connect to my MySQL database. Does hostmonster support json? How do I use json?

My application works on my pc on it's localhost and I have created the database using cpanel with the hostmonster naming conventions, and added a user with all privileges.

Hot DesignZ
05-11-2008, 10:05 AM
Wait what I don't get it, json is not mysql. Where does the mysql database come into play in your app? I am truly not sure if they support json.

bbentham
05-11-2008, 03:51 PM
I made my website with "Wavemaker" to avoid dealing with all the details and complexity inherent in a database driven website. Therefore, the how and why of using json for communicating with the database is unknown to me.

I didn't need to know any of these details to get the website running on my computers localhost. I just want to get it published on hostmonster.com

r2b2
05-11-2008, 03:56 PM
Are you sure that you uploaded the file username_db.json in your public_html directory?

If it is there, ensure the permissions are correct (probably go for 755)

Hot DesignZ
05-11-2008, 04:09 PM
isn't Wavemaker Java based? I am not sure that will work on this server, I think you would need to find a host that uses apache tomcat.