473,385 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

A begineer

Hello:

I have a problem when i create a database:

# mysqladmin -uroot -pclave create basedato
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password:
YES)'
#

What is the problem?

Thanks and sorry my english

Jan 19 '06 #1
1 1284
ds*********@gmail.com wrote:
Hello:

I have a problem when i create a database:

# mysqladmin -uroot -pclave create basedato
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password:
YES)'
#

What is the problem?

Thanks and sorry my english


It show that there is a mysql service running, but that the user
root@localhost is not allowed with the specified password.

Shouldn't there be a '=' sign between the switches and their values?

Did you set a password? If not try login in without a password.

If you set a password type the password correct, it is case sensitive.
Or just remove the password from the commandline and let mysql prompt
you for the password by only specifiing the -p switch without a value.

Try mysqladmin -h for the correct syntaxis.

Jonathan
Jan 20 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: David Edwards | last post by:
I am a beginner to php, i am able to connect to my postgres database and run off a few queries such as select a field from a table using the command $query = "SELECT species_name FROM species";...
0
by: peter leonard | last post by:
Hi, This is a basic question but I can't figure out what is wron - even after reading the documentation. I have a script that normalizes strings. One of the steps is to convert all fractions too...
24
by: knilges | last post by:
I am trying to build a Hello World program in C++. I am using the c++ or g++ complier in cygwin. My mangled code looks like this, #include <iostream> int main () { cout << "Hello World";...
1
by: anushhprabu | last post by:
guys i'm new to vc++, i don't even know to create a application, but i'm good in C, and C++.. now i have to develop a simple window to get input from user.. with textbox and button.. can anyone...
3
by: nilesh soni | last post by:
hello ! to every one of you all ! i am begineeers to db2 . so i need assistance from you all to follow which documentation to enhanced my skills .i am currently using 8.2 version ....i need help
2
by: nimbalkar | last post by:
I am the begineer of the .net i know the c,c++,vb please send me notes for the begineer how to and where to write the programme .
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.