gegerva Posted September 11, 2010 Share Posted September 11, 2010 Hello to all To be honest I am a dumb**s when it comes to mysql. Now, that being told, here is my problem: i am trying to add a forum to my site, where someone register to the main site, they will be registered to the forum also. I got to the part where i have to add my site DB user to my forums DB and my forums DB user to your my site DB. The message I'm getting : SELECT command denied to user 'mysite'@'x.x.232.75' for table 'vb_user' I would appreciate any help Quote Link to comment https://forums.phpfreaks.com/topic/213146-select-command-denied/ Share on other sites More sharing options...
s0c0 Posted September 11, 2010 Share Posted September 11, 2010 Have you tried adding the user to your MySQL server? You will need to do this if not. You will have to give the user the right privileges as well including (most likely, but read the documentation) SELECT, UPDATE, DELETE, INSERT, and possible CREATE. Hello to all To be honest I am a dumb**s when it comes to mysql. Now, that being told, here is my problem: i am trying to add a forum to my site, where someone register to the main site, they will be registered to the forum also. I got to the part where i have to add my site DB user to my forums DB and my forums DB user to your my site DB. The message I'm getting : SELECT command denied to user 'mysite'@'x.x.232.75' for table 'vb_user' I would appreciate any help Quote Link to comment https://forums.phpfreaks.com/topic/213146-select-command-denied/#findComment-1109934 Share on other sites More sharing options...
gegerva Posted September 11, 2010 Author Share Posted September 11, 2010 As i mentioned I am DA but when i did this iswhat i get #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GRANT SELECT, INSERT, UPDATE, DELETE, EXECUTE ON `database`.* TO 'user'@'localh' at line 2 and on the top of all i'm not sure where to add the user Quote Link to comment https://forums.phpfreaks.com/topic/213146-select-command-denied/#findComment-1109939 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.