Re: Problem connecting to db on Linux
| From: | David Sullivan | Date: | Mon, 18 Feb 2002 13:03:16 +0000 |
| Subject: | Re: Problem connecting to db on Linux | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17019@lists.php.net to get a copy of this message | ||
Hey,
I didn't have to do any special configuring. All I did was setup the root
password, login via the mysql console client and create my databases, then
use mysql_connect() and mysql_select_db() like you said. What have you done
other than just installing it?
--
- Dave
On February 18, 2002 04:27 am, you wrote:
> Hi all,
>
> I've been working with PHP/MySQL on Win NT and Win 2000 for a few weeks.
> I've now set up a Linux machine (Mandrake 8.1 on Dell laptop) and have
> moved my files across.
>
> I use an include file which logs on to the MySQL server and then connects
> to the database. It performs the login ok but not the select db part.
>
> I tried creating a db using a php script and then selecting it and got the
> same problem.
>
> I'm new on Linux so it might be something in the configuration which needs
> working on.
>
> Any suggestions?
>
> George in Edinburgh