<?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/4220" />

	<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>2003-04-28T19:26:03-04:00</updated>

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

		<entry>
		<author><name><![CDATA[pelefanten]]></name></author>
		<updated>2003-04-28T19:26:03-04:00</updated>

		<published>2003-04-28T19:26:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19590#p19590</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19590#p19590"/>
		<title type="html"><![CDATA[MySQL problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19590#p19590"><![CDATA[
what you need to do in order to link to MySQL is first to link to the libraries, ie my Makefile looks like this:<div class="codebox"><p>Code: </p><pre><code>srcdir = .doofus:@echo ""@echo "Let's try this from the right directory..."@echo ""@cd ../../../ &amp;&amp; makestatic: ../mystats.omodules: ../../../mystats.$(MOD_EXT)../mystats.o:$(CC) $(CFLAGS) $(shell mysql_config --cflags) $(CPPFLAGS) -DMAKING_MODS -c $(srcdir)/mystats.c@rm -f ../mystats.omv mystats.o ../../../../mystats.$(MOD_EXT): ../mystats.o$(LD) $(shell mysql_config --libs) -o ../../../mystats.$(MOD_EXT) ../mystats.o$(STRIP) ../../../mystats.$(MOD_EXT)depend:$(CC) $(CFLAGS) $(CPPFLAGS) -MM $(srcdir)/mystats.c &gt; .dependclean:@rm -f .depend config.* *.o *.$(MOD_EXT) *~distclean: clean#safety hash../mystats.o: .././mystats.mod/mystats.c ../../../src/mod/module.h \ ../../../src/main.h ../../../src/lang.h ../../../src/eggdrop.h \ ../../../src/flags.h ../../../src/proto.h ../../../lush.h \ ../../../src/misc_file.h ../../../src/cmdt.h ../../../src/tclegg.h \ ../../../src/tclhash.h ../../../src/chan.h ../../../src/users.h \ ../../../src/compat/compat.h ../../../src/compat/inet_aton.h \ ../../../src/compat/snprintf.h ../../../src/compat/memset.h \ ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \ ../../../src/mod/modvals.h ../../../src/tandem.h</code></pre></div>That way it shouldnt matter where one has MySQl installed and all you need to add in your c-file is<div class="codebox"><p>Code: </p><pre><code>#indlude &lt;mysql.h&gt;</code></pre></div>Then you'r all set...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3028">pelefanten</a> — Mon Apr 28, 2003 7:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-04-25T07:28:18-04:00</updated>

		<published>2003-04-25T07:28:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19405#p19405</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19405#p19405"/>
		<title type="html"><![CDATA[MySQL problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19405#p19405"><![CDATA[
ye well sorry ... i cant move posts... i found that this forum probably was more suitable for my request....<p>Statistics: Posted by Guest — Fri Apr 25, 2003 7:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-04-25T05:49:39-04:00</updated>

		<published>2003-04-25T05:49:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19403#p19403</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19403#p19403"/>
		<title type="html"><![CDATA[MySQL problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19403#p19403"><![CDATA[
you posted exactly the same question in the tcl-boards, posting it in one place is enough <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=852">Papillon</a> — Fri Apr 25, 2003 5:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-04-25T04:16:10-04:00</updated>

		<published>2003-04-25T04:16:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19399#p19399</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19399#p19399"/>
		<title type="html"><![CDATA[MySQL problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19399#p19399"><![CDATA[
eh? - sorry dont understand  :/<p>Statistics: Posted by Guest — Fri Apr 25, 2003 4:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-04-25T03:41:02-04:00</updated>

		<published>2003-04-25T03:41:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19398#p19398</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19398#p19398"/>
		<title type="html"><![CDATA[MySQL problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19398#p19398"><![CDATA[
no need to make double posts...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Fri Apr 25, 2003 3:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-04-24T18:34:35-04:00</updated>

		<published>2003-04-24T18:34:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19389#p19389</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19389#p19389"/>
		<title type="html"><![CDATA[MySQL problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19389#p19389"><![CDATA[
Heres my problem: <br>I would like my bot to be able to communicate with my webby... and i would like it to be done through MySQL... <br><br>Ive looked at fatbase SQL, but i run into a problem... all the FAQs are written as one knows the location of the SQL database... i dont... <br><br>I have a website (<a href="http://www.netcyb.org.uk" class="postlink">www.netcyb.org.uk</a>) - but i do not know what the MySQL path is to that site ;/ - Can anyone help me ??<p>Statistics: Posted by Guest — Thu Apr 24, 2003 6:34 pm</p><hr />
]]></content>
	</entry>
	</feed>
