Welcome to WebmasterWorld Guest from 54.147.217.76

Forum Moderators: open

Message Too Old, No Replies

mysql won't log in

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

WebmasterWorld Senior Member 5+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



Don't have a space after the -p

mysql -u username -ppassword databasename

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

WebmasterWorld Senior Member 5+ Year Member



Thanks,