mysql-error-1045

how to 'load data infile' on amazon RDS?

Deadly 提交于 2019-11-28 17:28:20
问题 not sure if this is a question better suited for serverfault but I've been messing with amazon RDS lately and was having trouble getting 'file' privileges to my web host mysql user. I'd assume that a simple: grant file on *.* to 'webuser@'%'; would work but it does not and I can't seem to do it with my 'root' user as well. What gives? The reason we use load data is because it is super super fast for doing thousands of inserts at once. anyone know how to remedy this or do I need to find a

Django : mysql : 1045, \"Access denied for user

天涯浪子 提交于 2019-11-28 08:09:32
I have the whole setup working for months on my local computer. I'm installing on a remote site now. Created a fresh mysql DB, and created a new user ("someuser") and gave it complete grants, like so - GRANT ALL PRIVILEGES ON . TO 'someuser'@'localhost' IDENTIFIED BY 'somepassword' WITH GRANT OPTION; I have sync'd the db, using "python manage.py syncdb" and the correct tables were created. My settings.py has this same user. But when I try to login a user through the application, and it hits the DB, I see the following in the logs - (1045, "Access denied for user 'someuser'@'localhost' (using

Cannot log in with created user in mysql

可紊 提交于 2019-11-28 03:45:48
Using this command GRANT ALL PRIVILEGES ON *.* to 'brian'@'%' identified by 'password'; I try to login with: mysql -u brian -ppassword The error is: ERROR 1045 (28000): Access denied for user 'brian'@'localhost' (using password: YES) I am doing this as root and I did try to flush privileges. I tried this with countless users but it does not seem to work. I can create a user with no password and login works. Command line and from phpmyadmin Also check to see if the user was in mysql.user which it is. Show grants for brian shows: | GRANT ALL PRIVILEGES ON *.* TO 'brian'@'%' IDENTIFIED BY

How to remove MySQL root password [closed]

爱⌒轻易说出口 提交于 2019-11-28 02:45:04
I want to remove the password for user root in localhost. How can I do that? By mistake I have set the password of root user. That's why phpmyadmin is giving an error: #1045 - Access denied for user 'root'@'localhost' (using password: NO) Dario You need to set the password for root@localhost to be blank. There are two ways: The MySQL SET PASSWORD command: SET PASSWORD FOR root@localhost=PASSWORD(''); Using the command-line mysqladmin tool: mysqladmin -u root -pType_in_your_current_password_here password '' Faiz Akhtar I have also been through this problem, First i tried setting my password of

mysqlimport: Error: 1045, Access denied

*爱你&永不变心* 提交于 2019-11-27 15:47:50
问题 Does anyone know why I get this error when running mysqlimport? mysqlimport -u someone -pwhatever --columns=a,b,c,d,e bar /var/tmp/baz.sql mysqlimport: Error: 1045, Access denied for user 'someone'@'%' (using password: YES), when using table: baz However... mysql -u someone -pwhatever Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 199 Server version: 5.1.41-3ubuntu12.10 (Ubuntu) Type 'help;' or '\h' for help. Type '\c' to clear the current input statement

MySQL: can't access root account

吃可爱长大的小学妹 提交于 2019-11-27 14:22:12
I'm running MySQL 5.x on my local Windows box and, using MySQL administrator, I can't connect to the databases I created using the root account. The error I get is: MySQL Error number 1045 Access denied for user 'root'@'localhost' (using password: YES) I can't recall changing root account credentials, but I know I tried to give other computers on the LAN access to the db by adding their IPs. One thing I did for one of the IPs was to specify access to the account 'root' instead of root , i.e. I surrounded root with single quotation chars. All using MySQL administrator. Could this be the reason

Cannot log in with created user in mysql

冷暖自知 提交于 2019-11-27 05:13:16
问题 Using this command GRANT ALL PRIVILEGES ON *.* to 'brian'@'%' identified by 'password'; I try to login with: mysql -u brian -ppassword The error is: ERROR 1045 (28000): Access denied for user 'brian'@'localhost' (using password: YES) I am doing this as root and I did try to flush privileges. I tried this with countless users but it does not seem to work. I can create a user with no password and login works. Command line and from phpmyadmin Also check to see if the user was in mysql.user which

MYSQL into outfile “access denied” - but my user has “ALL” access.. and the folder is CHMOD 777

一笑奈何 提交于 2019-11-27 03:11:39
Any ideas? SELECT * INTO OUTFILE '/home/myacnt/docs/mysqlCSVtest.csv' FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '*' LINES TERMINATED BY '\n' FROM tbl_property WHERE managerGroupID = {$managerGroupID} Error: Access denied for user 'asdfsdf'@'localhost' (using password: YES) Pablo Santa Cruz Try executing this SQL command: > grant all privileges on YOUR_DATABASE.* to 'asdfsdf'@'localhost' identified by 'your_password'; > flush privileges; It seems that you are having issues with connecting to the database and not writing to the folder you’re mentioning. Also, make sure you have granted

Django : mysql : 1045, "Access denied for user

狂风中的少年 提交于 2019-11-27 02:10:13
问题 I have the whole setup working for months on my local computer. I'm installing on a remote site now. Created a fresh mysql DB, and created a new user ("someuser") and gave it complete grants, like so - GRANT ALL PRIVILEGES ON . TO 'someuser'@'localhost' IDENTIFIED BY 'somepassword' WITH GRANT OPTION; I have sync'd the db, using "python manage.py syncdb" and the correct tables were created. My settings.py has this same user. But when I try to login a user through the application, and it hits

Mysql permission errors with 'load data'

喜欢而已 提交于 2019-11-27 01:58:52
I am running into a permission error when trying to load data from a flat file database dump into a new table. I know that the schema of the file and my table is the same and I tried tweaking the permissions. What else should I try? mysql> load data infile 'myfile.txt' into table mytable fields terminated by ',' enclosed by '"'; ERROR 1045 (28000): Access denied for user 'user'@'%' grant all on mytable.* to 'user'@'% Here's a thread on the MySQL forums that discusses exactly this. Here's the answer, posted by Ken Tassell Problem resolved using the command below: grant file on *.* to kentest