Author Topic: There was an error running the query  (Read 111 times)


  • Newbie
  • *
  • Posts: 3
    • View Profile
There was an error running the query
« on: June 18, 2017, 11:41:25 PM »
Hi, folks,

Another weird problem when i try to load the page from localhost. I've already modified db_login.php and database.php, but system show the following mensage

There was an error running the query [The user specified as a definer ('u380182854_cvq'@'localhost') does not exist]

I have to remember that i dont have any kind of databse called u380182854_cvq.

Are there any other file that i have to modify?


  • Full Member
  • ***
  • Posts: 228
    • View Profile
Re: There was an error running the query
« Reply #1 on: June 19, 2017, 11:54:40 AM »

Your problem is that you are using a user that not exist on your localhost database.
You can create a new user or use the existent users.

When you use programs wich create a web server in your PC, they not create users like web hosting.

I mean, if you use Xammp (i use it too), this create a user called "root" without password which have all the privileges on the database.

If you are using Xamp, set the user to root and set the pass to
Code: [Select]
' '. It should work!

Sorry for my english, im spanish... ;)