LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-17-2003, 03:28 PM   #1
vher
LQ Newbie
 
Registered: Dec 2002
Posts: 17

Rep: Reputation: 0
accessing mysql from apache/mysql


i need help i just configure my redhat 8.0 installed all the rpm from the cD itself

apache-2.x.x
php.2.x.x
mysql

now what i need is to access the mysql database.

upon installing those rpm's from the CD i tried accessing the database by typing

> mysql -u root -p

i pressed enter after asking for my password
then after that i got in and logout form my sql...

now i change my root password into 'xxx' by typing

> /usr/bin/mysqladmin -u root -p password 'xxx'

press enter again

and tried to access the mysql again by using the password i typed in and go in again from terminal login but my question is that i cant access the database from php by connections.

so is there anynoby can help me how to configure my server pls i badly need to configure it.
 
Old 01-17-2003, 03:38 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Please don't double post, you agreed to rules when you signed up, http://www.linuxquestions.org/rules.php
As for configuring LAMP (Linux Apache MySQL Php) there is planty of information on the google/linux http://www.google.com/linux
 
  


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
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 03:13 PM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock welery Linux - Software 19 03-06-2014 08:19 AM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 02:52 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 09:44 AM
accessing mysql from apache/php vher Linux - General 4 01-21-2003 09:06 AM


All times are GMT -5. The time now is 05:04 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