Hi,
Thanks for stoping by and reading.
I am quite new to php and mysql.
I generated a small app with php and mysql that works locally (I use xampp).
I have an account and a webpage hosted in 1freehosting.com
I wanted to share the app online so I took all my php & html files and copied them to my hosting space in 1freehosting.
I also created a new database and user in 1freehosting that contained all the required fields.
Now the php scripts seem to work fine, but I cannot manage to access the databases from my php script.
In principle the user and password must be correct (since I can access phpmyadmin with it, and select from my database, and create fields and so on). However I get the error
Access denied for user 'u211641509_root'@'srv14.main-hosting.com' (using password: YES)
You can check the page in http://www.anaisabel.tk/spread-the-petition/ if you want.
Any help will be appreciated. I feel I am missing something obvious, but I cannot sort it.
Thank you!
Ana