| View previous topic :: View next topic |
| Author |
Message |
darkrad Voice
Joined: 10 Sep 2003 Posts: 16
|
Posted: Sat Nov 26, 2005 1:29 pm Post subject: myquote2.tcl |
|
|
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 |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Nov 26, 2005 2:10 pm Post subject: Re: myquote2.tcl |
|
|
| 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
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 |
|
 |
darkrad Voice
Joined: 10 Sep 2003 Posts: 16
|
Posted: Sat Nov 26, 2005 2:13 pm Post subject: |
|
|
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 |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Nov 26, 2005 2:20 pm Post subject: |
|
|
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 |
|
 |
darkrad Voice
Joined: 10 Sep 2003 Posts: 16
|
Posted: Sat Nov 26, 2005 2:23 pm Post subject: |
|
|
| i just said what happen sending that command in a shell console. it seems hanging and the cursor mouse change. |
|
| Back to top |
|
 |
darkrad Voice
Joined: 10 Sep 2003 Posts: 16
|
Posted: Sat Nov 26, 2005 2:39 pm Post subject: |
|
|
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 |
|
 |
Mukke Voice
Joined: 31 Oct 2005 Posts: 6
|
Posted: Wed Jan 09, 2008 5:33 pm Post subject: |
|
|
$ 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 |
|
 |
|