Link to home
Start Free TrialLog in
Avatar of Mr-sark
Mr-sark

asked on

RedHat mysql installation questions!

I want to install MYSQL on my FEDOR 3 machine, if i do it by software management in kde some programma's can't find the mysql server so i wnat to do i for myself with the dowloaded mysql-version.rpm.

1. i install apache
2. i install mysql-server with        rpm -i mysql-version.rpm
3. i install mysql-max with           rpm -i mysql-max-version.rpm
4. i install mysql-client with         rpm -i mysql-client.rpm

After doing so i'm lost! the server is started and i try to follow some guides. I found out i have to perform:

./mysql_install_db

But what should i do after this? do i need ot set a password ? do i need to chmod some directories or create them ?..... please help me out here :)

thnx in advance
Avatar of Mr-sark
Mr-sark

ASKER

i'm getting this error while runing the command ./mysql_install_db

bash-3.00$ ./mysql_install_db
Installing all prepared tables
050513 11:21:31 Warning: Asked for 196608 thread stack, but got 126976
050513 11:21:31 /usr/sbin/mysqld: Shutdown Complete
Avatar of rindi
You could try to configure MySQL via webmin at http://webmin.com. This is awebbased tool with which you can configure and administer many parts of linux, including MySQL and I think Apache too.
Avatar of Mr-sark

ASKER

Could anyone give me the steps to get it running ?
Hi Sark,

Try this...

just create my.cnf in /etc/

or if it is alredy there, just edit #vi /etc/my.cnf

and paste following things

[mysqld]
thread_stack=128K

now save file... restart mysql -- see the logs -- i hope it works..

Regards
Shan
hi please provide more info what is the version you've installed what is the version you really want? if 3.23 is really enough you can install it using Add/Remove programs that comes with Fedora

--
Cheers,
Sivam
www.emmeskay.com
Avatar of Mr-sark

ASKER

ok here is some info

I use the lates fedor 3 (redhat)
i use MySQL 4.1

I install it by    rpm -i (sqlname.rpm)

.....so what should i do afther this ? what are the steps. Hope i informed you with enough info! if not let me know
ASKER CERTIFIED SOLUTION
Avatar of Shan_rocks
Shan_rocks

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
these are the MySQL rpms I've installed and working without any issues

MySQL-client-4.1.11-0
MySQL-server-4.1.11-0
MySQL-shared-3.23.58-1 (Note this version its older it is required for php and others connectivity with MySQL)
php-mysql-4.3.11-2.4 (I yum updated this)

once you installed these you dont need to run anything else seperately like ./mysql_install_db etc.

--
Cheers,
Sivam
ww.emmeskay.com
Avatar of Mr-sark

ASKER

I will try these RPM's tomorrow.

I know i have to run ./mysql_install_db

but the whole problem i was having is this one:

bash-3.00$ ./mysql_install_db
Installing all prepared tables
050513 11:21:31 Warning: Asked for 196608 thread stack, but got 126976
050513 11:21:31 /usr/sbin/mysqld: Shutdown Complete

But after reading some comment i know now i have to start mysql with:

./mysqld --thread-stack=192K
or
create a my.cnf

I will try tomorrow thnx for your help so fare