# mysql request

**URL:** <https://forums.percona.com/t/mysql-request/7662>\
**Category:** Other MySQL® Questions\
**Created:** [June 4, 2020, 3:00am UTC](https://forums.percona.com/t/mysql-request/7662 "2020-06-04T03:00:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elm273](https://avatars.discourse-cdn.com/v4/letter/e/f475e1/32.png) [@elm273](https://forums.percona.com/u/elm273)\
**Post date:** [June 4, 2020, 3:00am UTC](https://forums.percona.com/t/mysql-request/7662/1 "2020-06-04T03:00:21Z")

</div>

When creating the tables that have a foreign key, I get a privilege error,  
I have added a couple of privileges but nothing  
and I can’t continue with the practice

---

<div class="post-metadata">

**Author:** ![vaibhav\_upadhyay40](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vaibhav_upadhyay40/32/9_2.png) [@vaibhav\_upadhyay40](https://forums.percona.com/u/vaibhav_upadhyay40)\
**Post date:** [June 11, 2020, 6:31pm UTC](https://forums.percona.com/t/mysql-request/7662/2 "2020-06-11T18:31:02Z")

</div>

Please share the error.  
Please check the privileges of the user. login with user which has super privilege and grant necessary privileges to perform the operation.  
how to check user grant?  
mysql\> show grants for username@‘ip/host’;  
or login to mysql with the user you are getting above error and fire below command  
mysql\> show grants;&nbsp;  
  
Hope this helps.
