Is that locally on the SME server or remote ?
Per default, MySQL accpets only connections locally on the server.
Here's what I do after a fresh install:
1. Enable remote access:
# /sbin/e-smith/config setprop mysqld LocalNetworkingOnly no
# /sbin/e-smith/expand-template /etc/my.cnf
# /etc/rc.d/init.d/mysqld restart
2. Create new user to do my admin work in MySQL:
GRANT ALL ON * TO admin@localhost IDENTIFIED BY “password” WITH GRANT OPTION;
GRANT ALL ON * TO admin@”%” IDENTIFIED BY “password” WITH GRANT OPTION;
And finally, because I use PHP includes form y DB-connections located OUTSIDE the website tree, I do the following:
* Create directory php under /usr/share
* Chown admin php, chgrp shared php
* Put includes in /usr/share/php
* Chown admin *, chgrp shared * (from within /usr/share/php)
# mkdir /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
# cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays
* Change the line reading "php_admin_value open_basedir $basedir\n"; to "php_admin_value open_basedir $basedir:/usr/share/php\n";
# /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
# apachectl restart
Hope this helps.
PS: I don't use phpMyAdmin myself. I work on the cmd line via PuTTY and I use MySQLFront an MySQL Control Centre.
PPS: It's amazing what you can find using the search function on this site

.