Hi,
By default MySQL is set to accept only local connections.
Thus any connection not originating from the SME box itself will fail by default.
You can change this by giving following commands:
# /sbin/e-smith/config setprop mysqld LocalNetworkingOnly no
# /sbin/e-smith/expand-template /etc/my.cnf
# /etc/rc.d/init.d/mysqld restart
This worked flawlessly on my SME 6 system. On my SME 7.0Pre1 system the mysqld restart reported errors, but mysqld was started again.
Just to be sure I rebooted the whole box and everything worked just fine after that.
You don't need the password for the root user in MySQL. If you connect to MySQL as Linux user root on the command line on the SME box itself, you are automatically logged in as MySQL user root in MySQL.
(These are two different users, with different passwords ! The password for MySQL user root is set automatically and you should not mess with it or other things in SME will faill).
From there it is easiest to create a new MySQL user admin with all rights.
Then you can use this user to do your MySQL-admin work.
I create this user admin as follows (from within MySQL):
GRANT ALL ON * TO admin@localhost IDENTIFIED BY “password” WITH GRANT OPTION;
GRANT ALL ON * TO admin@”%” IDENTIFIED BY “password” WITH GRANT OPTION;
Note that the second command is very important if you want to remotely connect to MySQL as this user. It says that user admin can connect from any host.
For Mambo / Joomla, there is no need to create a user that can connect remotely, so a "user@localhost" is sufficient.
BTW: Last weekend I installed Joomla 1.07 in the primary ibay and it works great. There are some minor tweaks to do on the file permissions and the session.save_path in PHP.ini, but in a test environment I was able to get everything working alright.