Did you run this script already? More importantly, did it fail or succeed?
Execute the command:
mysql-config installDir dbaUser dbaPass fedoraDBUser fedoraDBPass dbName mysql41_flag
· installDir is the location where MySQL is installed. In Unix, this might be /usr/local/mysql. In Windows, it might be C:\mysql
· dbaUser is the name of the MySQL user with dba privileges. In a default MySQL installation, this will be root.
Please note that dbaUser is case sensitive.
· dbaPass is the password of the MySQL user with dba privileges. In a default MySQL installation, if you're running MySQL on the same machine as Fedora, you can usually pass "" for this argument.
Please note that dbaPass is case sensitive.
· fedoraDBUser is the username you'd like to use for the Fedora software's database access. (e.g., fedoraAdmin) Please note that this value is case sensitive.
· fedoraDBPass is the password you'd like to use for the above user. (e.g., fedoraAdmin) Please note that the password is case sensitive.
· dbName is the name you'd like to use for the Fedora database. (e.g., fedora20) Please note that the user name is case sensitive.
· mysql41_flag is an optional paramter that is only used if you are running MySQL 4.1.x. If using MySQL 4.1.x Fedora requires that you set the default character set to "utf8" and the default collation to "utf8_bin" for the Fedora database. Any value may be used for this parameter. If present, the script will automatically set the default character set to "utf8" and the default collation to "utf8_bin" for the Fedora SQL database. If you are running versions of MySQL prior to 4.1, OMIT THIS PARAMETER.
I ran mine (as root in debian linux) with the following params and it worked fine, mysql 4.1 is installed under /usr on my box:
mysql-config /usr root “” fedora fedora fedora y
This assumes that the username, password, and tablespace are fedora. For me, the script did not work when I tried to run it as myself. I had to run this as root.
I think the defaults are:
mysql-config /usr root “” fedoraAdmin fedoraAdmin fedora20 y
If it worked, you should be able to login to mysql as the fedora user.
There is one other possible snag. If you specified a database/tablespace other than fedora20 then you need to adjust the fedora.fcfg file and the jdbcURL.