jackam1
07-27-2006, 10:38 AM
Hi
I am very new to Mysql. All I want to do is load a simple txt file to a database.
I use the follwoign command:
mysql> LOAD DATA INFILE "30000lines.txt" INTO TABLE mytable;
and i get the following error:
ERROR 1045 (28000): Access denied for user 'userme'@'%' (using password: YES)
When I do a grant for teh tabel i get the following message:
+-----------------------------------------------------------------------------------------------------------------------+
| Grants for userme@% |
+-----------------------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'xxxx'@'%' IDENTIFIED BY PASSWORD '********' |
| GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, LOCK TABLES ON `xxxxxx`.* TO 'xxxxx'@'%' |
+-----------------------------------------------------------------------------------------------------------------------+
2 rows in set (0.00 sec)
Presumably all i need to do it grant myself all the permissions, but how?
I have read alot on grants but I don not need to create a new user.
All help is appreciated.
thanks
jack
I am very new to Mysql. All I want to do is load a simple txt file to a database.
I use the follwoign command:
mysql> LOAD DATA INFILE "30000lines.txt" INTO TABLE mytable;
and i get the following error:
ERROR 1045 (28000): Access denied for user 'userme'@'%' (using password: YES)
When I do a grant for teh tabel i get the following message:
+-----------------------------------------------------------------------------------------------------------------------+
| Grants for userme@% |
+-----------------------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'xxxx'@'%' IDENTIFIED BY PASSWORD '********' |
| GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, LOCK TABLES ON `xxxxxx`.* TO 'xxxxx'@'%' |
+-----------------------------------------------------------------------------------------------------------------------+
2 rows in set (0.00 sec)
Presumably all i need to do it grant myself all the permissions, but how?
I have read alot on grants but I don not need to create a new user.
All help is appreciated.
thanks
jack