<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/13615" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2007-06-17T13:23:20-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/13615</id>

		<entry>
		<author><name><![CDATA[ben]]></name></author>
		<updated>2007-06-17T13:23:20-04:00</updated>

		<published>2007-06-17T13:23:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73617#p73617</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73617#p73617"/>
		<title type="html"><![CDATA[Mysqltcl [Can't connect to local MySQL...]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73617#p73617"><![CDATA[
Thats how I have:<br>set sqlhand [mysqlconnect -host $sdt(hostname) -user $sdt(username) -password $sdt(password)]<br>mysqluse $sqlhand $sdt(database)<br><br>And I still get:<br>Tcl error [sdt:chat]: mysqlconnect/db server: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)<br><br>Even if I do, as you recommended:<br>[mysqlconnect -user $sdt(username) -password $sdt(password) -host $sdt(hostname)]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9070">ben</a> — Sun Jun 17, 2007 1:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2007-06-17T12:04:10-04:00</updated>

		<published>2007-06-17T12:04:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73616#p73616</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73616#p73616"/>
		<title type="html"><![CDATA[Mysqltcl [Can't connect to local MySQL...]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73616#p73616"><![CDATA[
if you show us how your using mysql::connect then maybe we can help.<br><br>If the port is the default (3306), dont add the -port option, if the mysql server  is local, put -host localhost instead of 127.0.0.1. I find it best to put the -db option first, followed by -user -password and then -host.<br><br>I found that it doesn't work some ways, but it always seems to work in that order for me...<br><br>Also, i donlt recommend using the -socket option.<br><br>Hope this helps <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Sun Jun 17, 2007 12:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ben]]></name></author>
		<updated>2007-06-16T17:09:06-04:00</updated>

		<published>2007-06-16T17:09:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73598#p73598</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73598#p73598"/>
		<title type="html"><![CDATA[Mysqltcl [Can't connect to local MySQL...]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73598#p73598"><![CDATA[
So I did (debian):<br>apt-get install mysqtcl<br><br>Was happy finally having mysqltcl. Though it didnt last long. Once I try to connect to mysql i get:<br><br>Tcl error [sdt:chat]: mysqlconnect/db server: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'<br><br>though the problem is have apache running with a site using mysql and it connect without a problem to mysql, BUT through socket:<br>/opt/lampp/var/mysql/mysql.sock<br><br>So, how to force mysqltcl to connect same ?<br>Im someone opposite to a tcl-guru, so forgive me.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9070">ben</a> — Sat Jun 16, 2007 5:09 pm</p><hr />
]]></content>
	</entry>
	</feed>
