I am trying to create a trigger on Phpmyadmin on shared hosting. But it’s not allowing to create. giving message “You do not have enough privileges”, Same code is working on my local database.
Please tell me how to create it in phpmyadmin.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I had faced same problem with my go-daddy shared hosting account.
Actually trigger requires super user privileges. And with shared hosting they (hosting side) will not provide super user privileges.
So finally You should have dedicated hosting. But this is not solution that I suggest to take dedicated hosting for just this single task. But yes, I can suggest you to tr to find a way to do task manually which you want to perform via trigger.
Also put a ticket on your hosting account with same problem. Let see what they reply.