LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-25-2010, 06:41 AM   #16
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
jTrana


Well, I tried this
( as root, on Ubuntu I would add sudo
as the first word in the command ).

1) mysqladmin -u root password <new-password>
2) /sbin/service mysqld start

But the "jTrana GUI" shows ..
"Wrong username or password".

Added a new user / new password in the /usr/bin/mysql-administrator
And then : /sbin/service mysqld restart

Same result : "Wrong username or password" in jTrana.
-
Attached Files
File Type: txt 3start.sh.txt (221 Bytes, 8 views)

Last edited by knudfl; 03-25-2010 at 06:53 AM.
 
Old 03-25-2010, 02:33 PM   #17
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

I don't have access to my Fedora PC at the moment, but please try this:
Quote:
1. Make sure mySQL is installed and running
<= "ps -eaf|grep i- sql" is a quick check...

2. Try to connect via the command-line "mysql" tool

3. Rinse and repeat until "mysql" works.

4. At that point, you should be able to connect to jTrana
There are zillions of mySQL tutorials, howto's and troubleshooting guides out there. For example:

http://www.linuxhomenetworking.com/w..._Configuration

http://linuxers.org/howto/how-instal...-server-fedora
 
Old 03-26-2010, 02:21 AM   #18
Bringo
Member
 
Registered: Mar 2010
Posts: 31

Original Poster
Rep: Reputation: 16
Is it installed ??
Quote:
[root@localhost ~]# mysql --version
mysql Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (i386) using readline 5.1
yes. ok. Is t running ??
Quote:
[root@localhost ~]# ps -eaf|grep i- sql
grep: sql: No such file or directory
No.
 
Old 03-26-2010, 02:46 PM   #19
Bringo
Member
 
Registered: Mar 2010
Posts: 31

Original Poster
Rep: Reputation: 16
Thumbs up Got it !!

Code:
[root@localhost ~]# service mysqld start
mysqld: unrecognized service
[root@localhost ~]# chkconfig mysqld on
error reading information on service mysqld: No such file or directory
Humm, okay..
Code:
[root@localhost ~]# yum install mysql mysql-server
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Package mysql-5.0.77-1.fc9.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package mysql-server.i386 0:5.0.77-1.fc9 set to be updated
--> Processing Dependency: perl-DBD-MySQL for package: mysql-server
--> Running transaction check
...
...
Installed:
  mysql-server.i386 0:5.0.77-1.fc9                                                                                                                            

Dependency Installed:
  perl-DBD-MySQL.i386 0:4.005-8.fc9                                                                                                                           

Complete!
Code:
[root@localhost ~]# chkconfig mysqld on
[root@localhost ~]# service mysqld start
Initializing MySQL database:  Installing MySQL system tables...
100327  0:12:11 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
100327  0:12:11 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
OK
Filling help tables...
100327  0:12:11 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
100327  0:12:11 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'

Alternatively you can run:
/usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
                                                           [  OK  ]
Starting MySQL:                                            [  OK  ]
Code:
[root@localhost jTrana]# mysqladmin -u user-name password *****
Using this user-name and password in jTrana and it is working.
Thanks a lot.
 
1 members found this post helpful.
Old 03-26-2010, 05:57 PM   #20
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Beautiful! Good work, and kudos Bringo!

Sincerely .. PSM
 
  


Reply

Tags
jtrana



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to compile (gcc) using code from other projects Meson Programming 5 01-18-2010 01:07 AM
How to compile and execute C++ and Java in Fedora 11 and Ubuntu 9.10? vskram21 Linux - General 8 11-19-2009 02:54 PM
I can't compile Qt projects with Eclipse barbuceanu Linux - Software 0 05-08-2008 03:30 AM
cant compile java files in fedora 8.. java/ maranganesan Linux - Software 4 12-31-2007 12:21 PM
windows java based app running on fedora core 3? linuxmandrake Linux - Software 2 06-18-2005 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration