Simply.com is available in english

Viga: SELECT command denied to user 'user'@'x' for table 'proc'

Põhjus on MySQL draiveri viga. Dokumenteeritud siin:
http://bugs.mysql.com/bug.php?id=10640
http://bugs.mysql.com/bug.php?id=16703
http://bugs.mysql.com/bug.php?id=14836

Protsess üritab täita SELECT-lauset tabelil proc. See ‘proc’ tabel on süsteemitabel, mis säilitab protseduure kõigi kasutajate jaoks MySQL serveris. Jagatud veebimajutuses on juurdepääs sellele tabelile probleem, sest see annaks klientidele võimaluse näha teiste protseduure.

Võimalik lahendus probleemile on muuta oma connection string, et see sisaldaks "Use Procedure Bodies=false".

Näide:
"server=localhost; user id=dbuser; password=password; database=dbname; Use Procedure Bodies=false;"

Artikkel tugikategooriast: ASP & ASP.NET

Muud asjakohased artiklid