close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

localhost.php error on installation

Thread began 1/26/2011 3:28 pm by caryn191788 | Last modified 1/27/2011 3:41 pm by Dani Chankhour | 6521 views | 3 replies |

caryn191788

localhost.php error on installation

Hello - I am doing another installation with errors on the localhost.php >

Warning: mysql_pconnect() [function.mysql-pconnect]: Unknown MySQL server host '550190_lazyl' (1) in /mnt/Target01/332078/550190/www.lazylandl.com/web/content/powerCMS/Connections/localhost.php on line 9

Fatal error: Unknown MySQL server host '550190_lazyl' (1) in /mnt/Target01/332078/550190/www.lazylandl.com/web/content/powerCMS/Connections/localhost.php on line 9

the localhost.php form code:

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_localhost = "mysql5-10.wc1:3306";
$hostname_localhost = "550190_lazyl";
$username_localhost = "550190_lazylandl";
$password_localhost = "5L5a0z1y9l0a";
$localhost = mysql_pconnect($hostname_localhost, $username_localhost, $password_localhost) or trigger_error(mysql_error(),E_USER_ERROR);
?>

I can connect to the database and I have added the .sql file.

I have one more CMS to add tonight.
Thank you for your time,
Caryn

Sign in to reply to this post

Dani Chankhour

The error indicates that some of those settings are incorrect.

Also, please make sure to not post confidential information on a public forum.


Try checking the information and make sure that they are the settings provided by your hosting provider.

Sign in to reply to this post

caryn191788

Thank you. I was pretty sure there was an error but I have exhausted all the things I know what to do. Could you give me direction of where to look?

IN the past 2 weeks I have installed 3 of these on the same platform with 3 total different errors. For something that is supposed to be user friendly - I guess I am just stupid because I don't get it.

I can login into myPHPadmin site so the login and passwords work. The error references this line - $localhost = mysql_pconnect($hostname_localhost, $username_localhost, $password_localhost) or trigger_error(mysql_error(),E_USER_ERROR);

which is the same as your code on WA.

Just tell me where to look for the error and I will do the ground work but to say there is an error goes without saying.

thank you,
caryn

Sign in to reply to this post

Dani Chankhour

I have opened a support ticket to further assist you with this issue:

supporthistory.php

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...