egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

myquote2.tcl

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
darkrad
Voice


Joined: 10 Sep 2003
Posts: 16

PostPosted: Sat Nov 26, 2005 1:29 pm    Post subject: myquote2.tcl Reply with quote

hello, i installed mysql 5.0 and mysqltcl. Now what should i do to get the tcl working? i can't get the point of:

Code:
# --------------------------------------------------------------------
# Install
# --------------------------------------------------------------------
# - import mysql-dump "myquote.sql"
# - change the database-settings below

where should i do import mysql-dump "myquote.sql" ?
where are the database-settings below? the ones in myquote.tcl? which user/pass and database name i have to specify? do i need to create a new mysql user and db? How? Thanks in advance
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Nov 26, 2005 2:10 pm    Post subject: Re: myquote2.tcl Reply with quote

darkrad wrote:

where should i do import mysql-dump "myquote.sql" ?

on the command line
Quote:

where are the database-settings below? the ones in myquote.tcl?

most likely
Quote:

which user/pass and database name i have to specify?

yours
Quote:

do i need to create a new mysql user and db?

yes, if you don't have one already
Quote:

How?

by using basic mySQL commands which you need to learn
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
darkrad
Voice


Joined: 10 Sep 2003
Posts: 16

PostPosted: Sat Nov 26, 2005 2:13 pm    Post subject: Reply with quote

doing the import thing turn my mouse cursor into a cross and wait... when i click anything it makes 2 sounds and then return to prompt..
it does make any sense?
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Nov 26, 2005 2:20 pm    Post subject: Reply with quote

you don't deal with these things with mouse clicks

you need to get a clue by RTFM (Reading The F*cking Manual) - that means learning mySQL basics - so go to mysql.com and start studying until you know what a relational database is, how to create it, how to register with it, and how to operate it; I know that's much harder than clicking with the mouse, but if you are not willing to do it, you shouldn't be here anyway
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
darkrad
Voice


Joined: 10 Sep 2003
Posts: 16

PostPosted: Sat Nov 26, 2005 2:23 pm    Post subject: Reply with quote

i just said what happen sending that command in a shell console. it seems hanging and the cursor mouse change.
Back to top
View user's profile Send private message
darkrad
Voice


Joined: 10 Sep 2003
Posts: 16

PostPosted: Sat Nov 26, 2005 2:39 pm    Post subject: Reply with quote

if i do that from shell:

Code:
xxx@ubuntu:~/xxx$ import mysql-dump "myquote.sql"
import: unable to open X server `'.
xxx@ubuntu:~/xxx$
Back to top
View user's profile Send private message
Mukke
Voice


Joined: 31 Oct 2005
Posts: 6

PostPosted: Wed Jan 09, 2008 5:33 pm    Post subject: Reply with quote

$ use databadename
$ mysqldump source /your/source/fule.sql

you could also open the sql file and put it in db with phpmyadmin

if you need phpmyadmin
$ sudo apt-get install phpmyadmin
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber