How To Fix Error 1045 Sqlstate 28000 Er_access_denied_error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of sqlstate[28000] [1045] access denied for user 'root'@'localhost' (using password: no) laravel this site About Us Learn more about Stack Overflow the company Business Learn
Error 1045 Sqlstate 28000 Access Denied For User 'root'@'localhost'
more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question
Magento Sqlstate[hy000] [1045] Access Denied For User 'root'@'localhost' (using Password: Yes)
x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up
Sqlstate 28000 Error Code 1045 Access Denied For User Magento
SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES) Symfony2 up vote 8 down vote favorite 1 I tried to create my DB with Symfony2. I typed the command: php app/console doctrine:create:database The result is: Could not create database for connection named `jobeet` SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES) The contents of my app/config/parameters.yml file is: parameters: database_driver: pdo_mysql pdo connection error sqlstate 28000 1045 access denied for user database_host: 127.0.0.1 database_port: ~ database_name: jobeet database_user: root database_password: 0000 mailer_transport: smtp mailer_host: 127.0.0.1 mailer_user: ~ mailer_password: ~ locale: fr secret: ThisTokenIsNotSoSecretChangeIt My OS is Ubuntu. I don't know what to do to correct this problem. Thanks for your help. mysql ubuntu symfony2 share|improve this question edited May 1 '13 at 19:41 wescrow 2,1901021 asked May 1 '13 at 19:36 mentaga 41113 5 Access denied for user 'root'@'localhost' (using password: YES) is a MySQL connection error. Usually implies invalid user and/or password. Sometimes you have to use localhost not 127.0.0.1 for this to work. –rncrtr May 1 '13 at 19:38 1 Is the password in quotes? –Patrik Karisch May 1 '13 at 22:15 3 Congratulation !!! The password need to be enter quotes. thank you very much!! How to do this post at resolved status? –mentaga May 1 '13 at 22:54 add a comment| 6 Answers 6 active oldest votes up vote 6 down vote Try to login via the terminal using the following command: mysql -u root -p It will then prompt for your password. If this fails, then definitely the username or passwo
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this #1045 access denied for user localhost using password yes site About Us Learn more about Stack Overflow the company Business Learn more 000webhost access denied for user about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x sqlstate[28000] [1045] access denied for user laravel Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up SQLSTATE[28000][1045] Access http://stackoverflow.com/questions/16325115/sqlstate28000-1045-access-denied-for-user-rootlocalhost-using-password denied for user 'root'@'localhost'(using password:NO) up vote 1 down vote favorite 2 When I try to connect to my backoffice in my website I get this error : SQLSTATE[28000][1045]Access denied for user 'root'@'localhost'(using password:NO)) Can someone help me fix this? php sql share|improve this question edited Jun 14 '12 at 23:44 hakre 134k26216387 asked Mar 22 '11 at 20:36 Malloc 4,4622275151 You http://stackoverflow.com/questions/5397523/sqlstate280001045-access-denied-for-user-rootlocalhostusing-passwordn want to connect to your database with root user ? THE root user ? –Luc M Mar 22 '11 at 20:45 NO, actually i have a login and password, i don`t understand why he mention the root story !! i can say that this cause no problem under windows (wamp) but under Mac OSX i got this error (mamp). –Malloc Mar 22 '11 at 20:50 add a comment| 3 Answers 3 active oldest votes up vote 5 down vote accepted You must use a password. Try to set one with "mysqladmin -u root password NEWPASSWORD" share|improve this answer answered Mar 22 '11 at 20:39 webdroids 862 i work in localhost and i don`t use a password to my MySQL database servor, i got any problem when i run under windows but when i go under Mac OSX this error appear to me :( –Malloc Mar 22 '11 at 20:41 add a comment| up vote 2 down vote You need to supply a password when logging into your database. When you connect to sql from php, make sure you're supplying this password. share|improve this answer answered Mar 22
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community https://ubuntuforums.org/showthread.php?t=1985847 Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [SOLVED] MySQL giving Error 28000, access denied Access Denied ...(using password: YES) Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Page 1 of 2 12 Last Jump to page: Results 1 to 10 of 11 Thread: MySQL giving Error 28000, Access Denied ...(using password: YES) Thread Tools Show Printable access denied for Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode May 24th, 2012 #1 Senior_Buckethead View Profile View Forum Posts Way Too Much Ubuntu Join Date Jan 2012 Beans 250 MySQL giving Error 28000, Access Denied ...(using password: YES) Hello all, I have installed mysql using instructions from: https://help.ubuntu.com/community/ApacheMySQLPHP Note: If you have already set a password for the mysql root, you will need to use: mysql -u root -p(Did you forget the mysql-root password? See MysqlPasswordReset.) But when I follow this up using terminal: Code: glenn@acer:~$ mysql -u root -p Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) glenn@acer:~$ Why is it giving me that error when I have already set the password? Adv Reply May 24th, 2012 #2 Senior_Buckethead View Profile View Forum Posts Way Too Much Ubuntu Join Date Jan 2012 Beans 250 Re: MySQL giving Error 28000, Access Denied ...(using password: YES) Oh come on people..someone has to know the answer...!! Adv Reply May 24th, 2012 #3 agillator View Profile Vi