A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Access Denied for ''@' localhost
Joined: Mar 28, 2012
May 22, 2013 06:12:53
When i try to create a database or any other thing mysql says Access Denied for ''@' localhost.
I have changed my root password to 'a'.
i have to use phpmyadmin
Tell me how to create database through command line.
or i have to create another user.
And what is the command to connect to mysql(like in oracle sql connect username\password )
Hope to get a working answer soon.
, Oracle Java Programmer , Oracle SQL Expert , Oracle Java Web Component Developer
Joined: Oct 14, 2011
May 23, 2013 01:41:26
If you are working with PHP, you have phpmyadmin tool with WAMP or XAMPP that you can access via url
. It allows you to work with MySQL in GUI mode.
To work from command line (on windows):
1. Ensure MySQL bin is set to your PATH environment variable.
2. Type in on the cmdline
mysql -u root -p
it will then ask for password. root is username
Supun Lakshan Dissanayake
Joined: Oct 26, 2012
Dec 25, 2013 05:05:23
what is the mysql username?
It seems like '' not 'root'
Are you better than me? Then please show me my mistakes..
I agree. Here's the link:
subject: Access Denied for ''@' localhost
PreparedStatement to pass user input to MySQL not working
Access denied Error in the Ant
Which database should I use in java swing?
Help- unable to connect to MySQL Connector/J
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015