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' - CREATE DEFINER=`kulturbeutel-lei`@`localhost` PROCEDURE set_visits(
-
IN par_ip VARCHAR(40),
-
IN par_type VARCHAR(10)
-
)
-
BEGIN
-
CALL count_timeout_ip(@num, par_ip, par_type);
-
IF
-
@num = 0
-
THEN
-
CALL new_ip_timeout(par_ip, par_type);
-
UPDATE
-
`myphpgb_statistic`
-
SET
-
`visits` = `visits`+1
-
WHERE
-
`date` = CURDATE();
-
END IF;
-
END
thanks
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: - GRANT EXECUTE
-
ON kulturbeutel2.*
-
TO 'kulturbeutel-lei'@'localhost';
This would have to be executed as root.
Dormilich 8,658
Recognized Expert Moderator Expert
I'll try that.
EDIT: that seems to have done the trick, thanks Atli.
Hi Atli,
I'm facing the same prob. But i'm not able to access as root. How can i do that?
thanks
Dormilich 8,658
Recognized Expert Moderator Expert
if it's is not your own host/database, ask your provider to do it for you.
yes, i am the admin. but i'm still having the "no privileges" error if i run the command on phpmyadmin
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)
i myself set up the databases. and added new users with password. and assigned them the databases.
Dormilich 8,658
Recognized Expert Moderator Expert
yup, and the default user (before you set up any other) is root.
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.
Sign in to post your reply or Sign up for a free account.
Similar topics |
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...
|
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...
|
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...
|
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:...
|
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")...
| |
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...
|
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...
|
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...
|
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...
|
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...
|
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. ...
| |
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |