close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

mysql connection issue

Thread began 8/21/2009 5:35 am by morc.mzw383871 | Last modified 8/21/2009 11:13 pm by lrawlins367093 | 1373 views | 2 replies |

morc.mzw383871

mysql connection issue

Error message is

"Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to MySQL server on 'localhost' (10061) in D:\Hosting\3905780\html\Connections\localhost.php on line 9

Fatal error: Can't connect to MySQL server on 'localhost' (10061) in D:\Hosting\3905780\html\Connections\localhost.php on line 9
"

I have tested and made the database (DB) connection with the localhost using dreamweaver, i.e. did not test connection with the host DB. What should I do to reconcile this?

Sign in to reply to this post

Jason ByrnesWebAssist

You should contact the host to determine the correct mysql server name to use when creating a connection.

Sign in to reply to this post

lrawlins367093

Can not connect craziness

I've had days and days of fun with this also.

What wants to be fixed is "localhost.php" hidden in the connections folder of your "store".

It wants to be something like this:

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_localhost = "localhost";
$database_localhost = "store";
$username_localhost = "root";
$password_localhost = "root";
$localhost = mysql_pconnect($hostname_localhost, $username_localhost, $password_localhost) or trigger_error(mysql_error(),E_USER_ERROR);
?>

After beating my head against the wall trying to find what to do and not getting a straight answer here I went to the Adobe Forums and found the problem in just a few seconds.

No to just find where the MySQL database get hidden.

Regards,

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...