Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-17-2003, 02:28 PM   #1
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


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, 02:38 PM   #2
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,
As for configuring LAMP (Linux Apache MySQL Php) there is planty of information on the google/linux


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

All times are GMT -5. The time now is 01:12 PM.

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