LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   accessing mysql from apache/mysql (https://www.linuxquestions.org/questions/linux-newbie-8/accessing-mysql-from-apache-mysql-41846/)

vher 01-17-2003 02:28 PM

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.

neo77777 01-17-2003 02:38 PM

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


All times are GMT -5. The time now is 08:06 PM.