THE IT IDEAS

  • Home

Monday, 4 May 2015

PDOException: SQLSTATE[42000]: 1148 The used command is not allowed with this MySQL version in AWS RDS

 THE IT IDEAS     14:53     aws rds, drupal   

To Resolve this error you have to connect mysql with below command then you can able to run LOCAL INFILE command in mysql console or drupal.


# mysql --local-infile=1 -h rds-amazon-url.com -uroot -p


Now you can able to run LOCAL INFILE command in RDS.

#mysql>LOAD DATA LOCAL INFILE '/tmp/foo.txt' INTO TABLE foo
COLUMNS TERMINATED BY '\t';





  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

Like Us !!!

Recent Posts

Blog Archive

  • ►  2016 (1)
    • ►  April (1)
  • ▼  2015 (12)
    • ►  August (1)
    • ▼  May (2)
      • Creating a Redhat package repository
      • PDOException: SQLSTATE[42000]: 1148 The used comma...
    • ►  April (8)
    • ►  March (1)
  • ►  2014 (23)
    • ►  December (8)
    • ►  November (12)
    • ►  April (2)
    • ►  March (1)
  • ►  2013 (7)
    • ►  December (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (3)
  • ►  2012 (15)
    • ►  December (6)
    • ►  November (9)

Categories

apache2 EC2 error mysql php ubuntu aws aws rds browser github installation linux mount s3 AWS Bucket CentOS Computer DocumentRoot change How to Benchmarking Webserver IP LAMP Restart Computer SCP command SQL SERVER XRDP administrator amazon rds backup basic commands chat command line disable download drupal ec2.chroot environment external storage device fstab functions geoip gmail google home page iis instance internet java mod rewrite mongodb multiple login network password one password php5 php5-fpm php7 private browsing python repair filesystem repo reset password rhel sa password same computer script sftp share skype ssh tomcat ubuntu 16.04 ubuntu16 visudo windows 8 youtube
JobsMagBlogJobsMag.InThingsGuide

Popular Posts

  • How to upload EC2 Data to S3 Bucket with s3cmd
    Install s3cmd third party software in EC2 Instance. #apt-get install s3cmd Configure s3cmd to access your S3 Bucket with below prodecure. #...
  • How to redirect HTTP to HTTPS
    First you need to install SSL Certificate Successfully. Once your done that choose any of example to do redirect url. Example : 1 In t...
  • Getting error to Install Windows 8 in virtual box ?
    Getting error to Install Windows 8 in virtual box ? Follow below instruction to solve this issue. Close your virtual box restar...

Copyright © THE IT IDEAS | Powered by Blogger