5
Sounds almost certainly like a password or useraccount problem to me. Are you sure your username and password are correct?
With c:\mysql\bin\mysql MySQL you are connecting to the MySQL database server as an anonymous user, in the case of Windows the default user name is ODBC if you do not provide one.
The anonymous user in the default installation only has privileges to access the `test` database. You are trying to access the `XoopsDBName` database which cause the access denied.
If you want to access the `XoopsDBName` database, you have to use the root user.
c:\mysql\bin\mysql -u root XoopsDBName
should do the trick.
If you have set a password for the root user then you have to add the -p option
c:\mysql\bin\mysql -u root -p mysql
To find out all the available options of mysql, run c:\mysql\bin\mysql --help
The MySQL website is very good for this kind of thing too.
Ted