I assume this is connected with MySQL? If so you should have setup a database and user (with only the permissions required) specifically for this application.
Using root may seem like a simple way to get things working, until the problems start.
You could fiddle about to get this working, but best to setup a seperate DB for the application.
Dave