Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 571
  • Last Modified:

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
0
Mr-sark
Asked:
Mr-sark
  • 4
  • 2
  • 2
  • +1
1 Solution
 
Mr-sarkAuthor Commented:
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
0
 
rindiCommented:
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.
0
 
Mr-sarkAuthor Commented:
Could anyone give me the steps to get it running ?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Shan_rocksCommented:
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
0
 
apsivamCommented:
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
0
 
Mr-sarkAuthor Commented:
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
0
 
Shan_rocksCommented:
Hi Sark,

Have you tried with which what i've given above.
If not try that and let me know what you are getting...


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..
0
 
apsivamCommented:
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
0
 
Mr-sarkAuthor Commented:
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
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now