Andrew,

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

Where:

·         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.

 

-AZ

 

 


From: Andrew Nagy [mailto:andrew.nagy@villanova.edu]
Sent: Thursday, July 14, 2005 10:24 AM
To: Zeckoski, Aaron
Cc: fedora-users@comm.nsdl.org
Subject: Re: [Fedora-users] Post Installation ERROR

 

Sorry, yes, I am using MySQL 4 and it is running.

Thanks!
Andrew

Zeckoski, Aaron wrote:

Andrew,
What OS and DB are you using?
If you are using the mckoi DB, did you start fedora using the
following?: 
fedora-start mckoi
 
If not, fedora assumes you are using mysql. A little more info and I can
help more.
 
-AZ
 
 
  
-----Original Message-----
From: fedora-users-bounces@comm.nsdl.org [mailto:fedora-users-
bounces@comm.nsdl.org] On Behalf Of Andrew Nagy
Sent: Thursday, July 14, 2005 10:03 AM
To: fedora-users@comm.nsdl.org
Subject: [Fedora-users] Post Installation ERROR
 
This is my first time with Fedora.  I just installed it following the
installation documentation, but as soon as I try to start the server I
get the following:
 
Starting the Fedora server...
Using the default server profile
Deploying API-M and API-A...
nohup: appending output to `nohup.out'
Processing file /usr/local/fedora-2.0/server/config/deployAPI-A.wsdd
<Admin>Done processing</Admin>
Processing file /usr/local/fedora-2.0/server/config/deploy.wsdd
<Admin>Done processing</Admin>
Initializing Fedora Server instance...
ERROR
 
What does this very verbose ( :) ) error message mean?
 
Thanks!
Andrew
 
 
_______________________________________________
Fedora-users mailing list
Fedora-users@comm.nsdl.org
http://comm.nsdl.org/mailman/listinfo/fedora-users