Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Linking SQL to HTML5

Author  Topic 

GeminiKiller
Starting Member

1 Post

Posted - 2015-03-29 : 10:53:21
I am stuck and chase by deadline from my bosses, I am on my wits end and i decide to ask the professionals here for solution on this.

I have not been doing HTML programming for 5years so there are alot of surprises out here, including, CSS, PHP, JS and SQL database. I keep getting this same message while i hit on the submit button on my login site:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I hope to see light at the end of the tunnel here so please advice me,thanks. My codes goes like this,(note:i am using ipage.com for web hosting) :
<div class="wsite-form-field" style="margin:5px 0px 5px 0px;"><form action="3d-check-login.php" method="post"> <!--added form-->
<label class="wsite-form-label" for="input-239701663870343122">Username <span class="form-required">*</span></label>
<div class="wsite-form-input-container">
<input id="input-239701663870343122" class="wsite-form-input wsite-input wsite-input-width-370px" type="text" name="_u239701663870343122" />
</div>
<div id="instructions-239701663870343122" class="wsite-form-instructions" style="display:none;"></div>
</div></div>

<div><div class="wsite-form-field" style="margin:5px 0px 5px 0px;">
<label class="wsite-form-label" for="input-366324626721336511">Password <span class="form-required">*</span></label>
<div class="wsite-form-input-container">
<input id="input-366324626721336511" class="wsite-form-input wsite-input wsite-input-width-370px" type="text" name="_u366324626721336511" />
</div>
<div id="instructions-366324626721336511" class="wsite-form-instructions" style="display:none;"></div>
</div></div>
</ul>
</div>
<div style="display:none; visibility:hidden;">
<input type="text" name="wsite_subject" />
</div>
<div style="text-align:left; margin-top:10px; margin-bottom:10px;">
<input type="hidden" name="form_version" value="2" />
<input type="hidden" name="wsite_approved" id="wsite-approved" value="approved" />
<input type="hidden" name="ucfid" value="370131346855225791" />
<input type='submit' style='position:absolute;top:0;left:-9999px;width:1px;height:1px' /><a class='wsite-button' onclick="document.getElementById('form-370131346855225791').submit()"><span class='wsite-button-inner'>Login</span></a>

Kristen
Test

22859 Posts

Posted - 2015-03-29 : 11:05:30
quote:
Originally posted by GeminiKiller


Can't connect to local MySQL server through socket


Sorry, this is a Microsoft SQL Server site and as such there might not be anyone here who knows how to solve your problem.

Suggest you ask on a MySQL forum instead/as well.
Go to Top of Page
   

- Advertisement -