linux - Connecting to Mysql on AWS Elastic Beanstalk -
I'm relatively new LAMP Dev I was trying to learn Linux through mainly AWS. I have a live flexible Beanstock example and are running. I did a yum install the following packages:
mysql55.x86_64 mysql55-bench.x86_64 mysql55-common.x86_64 mysql55-devel.x86_64 mysql55-libs.x86_64 mysql55-server.x86_64 mysql55- Test .x86_64 seemed to install fine all ... then typed ...
mysql -V that I
mysql Ver 14.14 distribution 05.05.20, Redline for Linux (x86_64) 5.1 ... use Which confirms that mysql is installed ... but then when I type ...
enter mysql -u ec2-user -p password Not: / * empty skip * / I ...
error 2002 (Acaiattiatti): Socket to local MySQL server '/ var / lib / mysql / mysql.sock '(2) / Pre> it is now that I ssh-ing in the server went created in AWS console with a security group key pair. The key is authenticating me (.ppk file) when I enter the box as EC2-user. This is my "root" user, as far as I know, there is no password, but I can be wrong.
So, basically I can not understand the basics of how to use MySQL in Linux. I have actually used PHPMyAdmin and MySQL command line so far from WAMP so far.
Can anyone help me where I am crossing my stars?
Wow robbery. Before you do anything else, stop and use your microscope machine outside of Beanstock, or use it. Beanstock is designed to auto-polish your app's web-level, not to keep your database, when it measures your application, your data will not be found on the new machine. When it is scaled back down, it can remove your database machine. If this example ends on retired or corrupted hardware, Beanstock will replace it.
Note this picture. Your database layer is present outside the Beansstock environment, it does not contain
Comments
Post a Comment