Another shot in the dark. The user table in db mysql should also have a
host entry for the user specified - verify that you do not just have an
entry for localhost. (Use % wildcard to indicate all hosts instead, or
duplicate the row with localhost on it and use the windows host name.)
-----Original Message-----
From: Benjamin Pflugmann [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 12, 2001 8:33 AM
To: Edward Sepulveda
Cc: [EMAIL PROTECTED]
Subject: Re: Problem with source command for command line (win version)
Hi.
May sound like a stupid question, but do you have read access to
source_file?
Please quote the complete line with error message.
Are you able to execute another statement on the server?
What does source_file contain? When it tries to create a database, a
table, whatever - do the user you use have the privileges to do so?
Bye,
Benjamin.
On Tue, Jun 12, 2001 at 10:16:10AM -0500, [EMAIL PROTECTED] wrote:
> Using the source command on the command line, I am getting "access
> denied" (to
> the file, I am guessing).
>
> I have tried these statements:
>
> (1) "source filename"
>
> (2) "mysql -h hostname -u user database < source_file"
>
> and I received the same "access denied" message.
>
> What am I doing wrong?
>
> Edward (newbie)
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php