473,545 Members | 1,839 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

execute denied error

Dormilich
8,658 Recognized Expert Moderator Expert
Hi,

has anyone an idea, how I can get over this access denied error?

#1370 - execute command denied to user 'kulturbeutel-lei'@'localhost ' for routine 'kulturbeutel2. set_visits'

Expand|Select|Wrap|Line Numbers
  1. CREATE DEFINER=`kulturbeutel-lei`@`localhost` PROCEDURE set_visits(
  2.         IN  par_ip   VARCHAR(40),
  3.         IN  par_type VARCHAR(10)
  4.     )
  5. BEGIN
  6.         CALL count_timeout_ip(@num, par_ip, par_type);
  7.         IF
  8.             @num = 0
  9.         THEN
  10.             CALL new_ip_timeout(par_ip, par_type);
  11.             UPDATE
  12.                 `myphpgb_statistic`
  13.             SET
  14.                 `visits` = `visits`+1
  15.             WHERE
  16.                 `date` = CURDATE();
  17.         END IF;
  18. END
thanks
May 14 '09 #1
9 9559
Atli
5,058 Recognized Expert Expert
Hi.

Perhaps an obvious question, but does this user have the permission to use the EXECUTE command on this database?

Try:
Expand|Select|Wrap|Line Numbers
  1. GRANT EXECUTE 
  2. ON kulturbeutel2.* 
  3. TO 'kulturbeutel-lei'@'localhost';
This would have to be executed as root.
May 15 '09 #2
Dormilich
8,658 Recognized Expert Moderator Expert
I'll try that.

EDIT: that seems to have done the trick, thanks Atli.
May 15 '09 #3
sunkadam
3 New Member
Hi Atli,

I'm facing the same prob. But i'm not able to access as root. How can i do that?

thanks
May 17 '09 #4
Dormilich
8,658 Recognized Expert Moderator Expert
if it's is not your own host/database, ask your provider to do it for you.
May 17 '09 #5
sunkadam
3 New Member
yes, i am the admin. but i'm still having the "no privileges" error if i run the command on phpmyadmin
May 18 '09 #6
Dormilich
8,658 Recognized Expert Moderator Expert
there must definitely be a root account (otherwise it would have been nearly impossible to set up the database in the first place)
May 18 '09 #7
sunkadam
3 New Member
i myself set up the databases. and added new users with password. and assigned them the databases.
May 18 '09 #8
Dormilich
8,658 Recognized Expert Moderator Expert
yup, and the default user (before you set up any other) is root.
May 18 '09 #9
Atli
5,058 Recognized Expert Expert
Only users with the EXECUTE permission can call procedures, and only root-like users can grant other users that permission.

If you can't login as root via your GUI program, have you tried just using the CLI on the server computer?
I always prefer doing admin tasks via the command line anyways. Feels a lot safer, somehow.
May 18 '09 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2355
by: NeverLift | last post by:
I've carefully constructed my home page so it will display on any reasonable resolution monitor with no scrolling required and, to ensure that happens, my <body> element includes an OnLoad that runs a javascript code that, among other things, does a window.resizeTo to the size that will display the page in its entirety. It almost always...
2
3666
by: Taishi | last post by:
New user of SQL Everything is on the same machine My error is close to the bottom After reading it today, I can see there is a problem with 2 dbases 'PUBS' and 'Master' There are also some comments from the group: ---microsoft.public.sqlserver.odbc-- subject: Permission Denied -- Thanks for help guys I was able to find a trial version of...
1
2851
by: HNguyen | last post by:
Access denied error while uploading a file to a web server. I am getting the following error while trying to upload a file to our web server: Error: Access to the path "e:\web\...\DBConnection.txt" is denied. We are working with IIS 6.0 on Windows 2003 Server running .NET Framework 1.1. To perform the upload we are using...
0
1586
by: Gururaj Badam | last post by:
I get the following access denied error when i try to export an image Start of Error Message Access Denied. Description: An unhandled exception has occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details:...
3
6134
by: fniles | last post by:
In our ASP page, we call XMLHttp to download XML files. When calling our page using localhost (localhost/myWebSite/myPage.htm), it works, but when calling using the IP address of the web server (xx.x.x.xxx/myWebSite/myPage.htm), I got "Permission denied" error in the HTTP.Open statement. Set http = CreateObject("Microsoft.XmlHttp")...
2
2049
by: stephen | last post by:
Hi, I am getting an Error "Access to the path...... is denied" Error. I have an web app and I am creating a log file to write the error info. If I have the absolute path "C:\Inetpub\wwwroot\Samples\Test\bin" and write the file there, then it works but if i try another method say "Machinename\path" e.g: \\Stephen\Samples\Test\bin then it...
1
3263
by: igotyourdotnet | last post by:
Ok, here is the issue: I have 2 web pages one does a file upload to a database and the other page does a FTP to a server, both pages use the c:\temp directory. The page that uploads to a database works fine, the page that FTP's the files returns me an error (Access denied filename.txt) Now the asp.net ID has full control of the c:\temp...
6
3453
by: suresh_nsnguys | last post by:
Hi, This is my first message to this forum.I am facing one problem in frames.when i am trying to access child frame from parent frame i am getting "Access Denied Error".i know the reason bcz i am trying to access the frame in different domain.is there any way to tackle this problem my code: parent frame: <html> <script> function...
0
7487
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7420
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7680
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
6003
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5349
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3459
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1908
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1033
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
731
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.