Welcome to WebmasterWorld Guest from 54.196.232.162

Forum Moderators: open

Message Too Old, No Replies

mysql won't log in

     
7:16 pm on Jan 8, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:June 10, 2008
posts: 1130
votes: 0


Does anyone have an Idea as to why this command is not logging in properly.
mysql -u username -p password databasname
When I run that it comes up with another prompt for my password so I type in password and then it says the database password does not exist. Why is it taking password as the database name and not databasename? What is wrong with my syntax? Thanks,
8:08 pm on Jan 8, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 17, 2002
posts:1181
votes: 5


Don't have a space after the -p

mysql -u username -ppassword databasename

8:31 pm on Jan 8, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:June 10, 2008
posts:1130
votes: 0


Thanks,