This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

myquote2.tcl

Support & discussion of released scripts, and announcements of new releases.
Post Reply
d
darkrad
Voice
Posts: 16
Joined: Wed Sep 10, 2003 6:33 pm

myquote2.tcl

Post by darkrad »

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: Select all

# --------------------------------------------------------------------
# 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
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Re: myquote2.tcl

Post by demond »

darkrad wrote: where should i do import mysql-dump "myquote.sql" ?
on the command line
where are the database-settings below? the ones in myquote.tcl?
most likely
which user/pass and database name i have to specify?
yours
do i need to create a new mysql user and db?
yes, if you don't have one already
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: Select all

 tag when posting logs, code
d
darkrad
Voice
Posts: 16
Joined: Wed Sep 10, 2003 6:33 pm

Post by darkrad »

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?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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: Select all

 tag when posting logs, code
d
darkrad
Voice
Posts: 16
Joined: Wed Sep 10, 2003 6:33 pm

Post by darkrad »

i just said what happen sending that command in a shell console. it seems hanging and the cursor mouse change.
d
darkrad
Voice
Posts: 16
Joined: Wed Sep 10, 2003 6:33 pm

Post by darkrad »

if i do that from shell:

Code: Select all

xxx@ubuntu:~/xxx$ import mysql-dump "myquote.sql"
import: unable to open X server `'.
xxx@ubuntu:~/xxx$ 
M
Mukke
Voice
Posts: 6
Joined: Mon Oct 31, 2005 11:36 am

Post by Mukke »

$ 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
Post Reply