LinuxQuestions.org
Help answer threads with 0 replies.
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 07-18-2002, 12:30 PM   #1
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
PostNuke Apache MySQL RedHat


OK trying to get PN running.
Apache installed. check
MySQL. check
PHP. check
run PostNuke install.php
and
Code:
Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/install/newinstall.php on line 36

Line 36 is where the DB is queried.

Code:
mysql_pconnect($dbhost, $dbuname, $dbpass);
So I haven't set the DB password....look up the means of setting pass.

says do
/usr/bin/mysqladmin -u root -p password 'new_pass'

Uhoh no mysqladmin on my box!!!

Anyone know where I can find it or how to set the password manually or any other work around?
 
Old 07-18-2002, 04:37 PM   #2
BenchRacer
LQ Newbie
 
Registered: Jun 2002
Location: SE Wisconsin
Distribution: Ubuntu 6.06
Posts: 6

Rep: Reputation: 0
Code:
$ locate mysqladmin
Mines located at '/usr/bin/mysqladmin'
 
Old 07-18-2002, 05:16 PM   #3
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Original Poster
Rep: Reputation: 30
mysql

OK the problen has changed.
I found and installed the
MySQL --client --devel -- and shared rpms
and it cameup on a
find...

but I can't change the password



Code:
/usr/bin/mysqladmin -u root -p password 'newpasshereright?'
returns
Enter password: #what to put here

blank and pass in 's and others all return
Code:
error: 'Access denied for user: root@localhost'  (Using Password:YES)
also tried
Code:
/usr/bin/mysqladmin --user=root  --host 192.168.1.88 password newpasshereright?
it returns
[2] 1633
[3] 1634
bash: gl1: command not found
bash: 3: command not found
[3] - Exit 127 gl1
prompt>/usr/sbin/mysqladmin: connect to server at: '192.168.1.88' failed
error: 'Host '192.168.1.88' is not allowed to connect to this MySQL server'

Last edited by 5amYan; 07-18-2002 at 05:18 PM.
 
Old 07-18-2002, 05:57 PM   #4
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Original Poster
Rep: Reputation: 30
Here's the root of my problem.
MySQL is on
Apache yeo
php-mysql yep
postnuke yep

do postnuke new-install and

Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/install/newinstall.php on line 36
 
Old 07-18-2002, 10:53 PM   #5
BenchRacer
LQ Newbie
 
Registered: Jun 2002
Location: SE Wisconsin
Distribution: Ubuntu 6.06
Posts: 6

Rep: Reputation: 0
Sounds to me like php might not be configured with mysql support.

If your php install is from the redhat cd's, be sure to also install php-mysql.rpm
 
Old 07-19-2002, 12:39 AM   #6
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Original Poster
Rep: Reputation: 30
php-mysql is there but so is just php.
Should I rremove the non-mysql php?
 
Old 07-19-2002, 03:01 AM   #7
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
if u remove the php rpm it means u have a php extension and no php engine
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
RedHat ES3 Antivirus Apache/MYSQL TieN Red Hat 2 04-04-2005 04:13 AM
Apache-MySQL Problem in Redhat 9 TankerKevo Red Hat 3 02-13-2004 12:51 PM
Redhat 9 and Apache/MySQL/PHP dr00bie Linux - Software 0 02-10-2004 05:51 PM
Configure Apache, PHP and MySQL on RedHat 9.0 siripr Linux - Newbie 2 10-21-2003 03:35 PM
Help Installing MySql, Apache and PHP for RedHat 8 rmedina Linux - Newbie 2 10-18-2003 06:36 PM

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

All times are GMT -5. The time now is 06:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration