Download your favorite Linux distribution at LQ ISO.
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 03-05-2008, 02:58 AM   #1
LQ Newbie
Registered: Mar 2008
Posts: 5

Rep: Reputation: 0
Question problem with domain in Ubuntu

a have a lighttpd server with php5 and Mysql extension ... on my ubuntu desktop

The problem is when a php script is trying to connect

it says

Warning: mysql_pconnect() [function.mysql-pconnect]: Lost connection to MySQL server during query in /var/-/www/settings/database.php on line 16
Cannot connect to database, check if username, password and host are correct.
in database.php i have

PHP Code:

$mysql_user "user";

$mysql_password "password"

$mysql_host "mysql.*.ro";

$mysql_table_prefix "x"
if i replace mysql.*.ro with localhost
is working more then better

what is wrong

in windows worked perfectly


Old 03-07-2008, 03:27 AM   #2
LQ Newbie
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
nobody ? (


lighttpd, mysql, php

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
getting on windows domain using ubuntu serious issues Linux - Laptop and Netbook 2 01-09-2008 03:36 PM
LXer: OpenLDAP + Samba Domain Controller On Ubuntu 7.10 LXer Syndicated Linux News 0 01-06-2008 01:20 PM
Intermittent Windows Domain Logon problems in Ubuntu GeneNZ Linux - Software 2 10-17-2007 11:27 PM
Connecting Ubuntu to Windows Domain rf123 Linux - Networking 2 01-26-2007 12:22 PM
ubuntu to windows 2003 ad domain Thermos Linux - Networking 1 08-14-2005 12:29 AM

All times are GMT -5. The time now is 03:43 AM.

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