can't import sql using databasewhatever.sql

2003-10-13 Thread Victor Spång Arthursson
Hi!

I'm having a strange problem - I can't read data using the

	mysql -u root -p databasepath/to/whatever.sql

Not getting any error message, but some kind of introduction text 
flashes by reading:


[powerbook:~] victor% /usr/local/mysql/bin/mysql -u root -p *** databas 
 /path/to/tabell.sql
/usr/local/mysql/bin/mysql  Ver 12.21 Distrib 4.0.15, for 
apple-darwin6.4 (powerpc)
Copyright (C) 2002 MySQL AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Usage: /usr/local/mysql/bin/mysql [OPTIONS] [database]
  -?, --help          Display this help and exit.
  --auto-rehash       Enable automatic rehashing. One doesn't need to 
use

[...  clip ...]

max_allowed_packet                16777216
net_buffer_length                 16384
select_limit                      1000
max_join_size                     100

Anyone knowing what to do? It's pretty urgent cause I'm having this big 
database for a project that is to big to import using phpmyadmin - 
causes the browser to time out...

Sincerely

Victor

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: can't import sql using databasewhatever.sql

2003-10-13 Thread Victoria Reznichenko
Victor Sp?ng Arthursson [EMAIL PROTECTED] wrote:
 Hi!
 
 I'm having a strange problem - I can't read data using the
 
mysql -u root -p databasepath/to/whatever.sql
 
 Not getting any error message, but some kind of introduction text 
 flashes by reading:
 
 
 [powerbook:~] victor% /usr/local/mysql/bin/mysql -u root -p *** databas 
  /path/to/tabell.sql

Remove space between -p option and password.

 /usr/local/mysql/bin/mysqlš Ver 12.21 Distrib 4.0.15, for 
 apple-darwin6.4 (powerpc)
 Copyright (C) 2002 MySQL AB
 This software comes with ABSOLUTELY NO WARRANTY. This is free software,
 and you are welcome to modify and redistribute it under the GPL license
 Usage: /usr/local/mysql/bin/mysql [OPTIONS] [database]
 š -?, --helpš š š š š Display this help and exit.
 š --auto-rehashš š š šEnable automatic rehashing. One doesn't need to 
 use
 
 [...  clip ...]
 
 max_allowed_packetš š š š š š š š 16777216
 net_buffer_lengthš š š š š š š š š16384
 select_limitš š š š š š š š š š š 1000
 max_join_sizeš š š š š š š š š š š100
 
 
 Anyone knowing what to do? It's pretty urgent cause I'm having this big 
 database for a project that is to big to import using phpmyadmin - 
 causes the browser to time out...
 
 Sincerely
 
 Victor
 
 


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
   ___/   www.mysql.com





-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: can't import sql using databasewhatever.sql

2003-10-13 Thread gerald_clark
-p without the passwd immediately following is not compatible with
input redirection.
Either add the password after the -p with NO space, or better yet,
create a .my.cnf file in the home directory of the user running the script
and have it contain the user and password settings.
Victor Spång Arthursson wrote:

Hi!

I'm having a strange problem - I can't read data using the

mysql -u root -p databasepath/to/whatever.sql

Not getting any error message, but some kind of introduction text 
flashes by reading:


[powerbook:~] victor% /usr/local/mysql/bin/mysql -u root -p *** 
databas  /path/to/tabell.sql
/usr/local/mysql/bin/mysql  Ver 12.21 Distrib 4.0.15, for 
apple-darwin6.4 (powerpc)
Copyright (C) 2002 MySQL AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Usage: /usr/local/mysql/bin/mysql [OPTIONS] [database]
  -?, --help  Display this help and exit.
  --auto-rehash   Enable automatic rehashing. One doesn't need to use

[...  clip ...]

max_allowed_packet16777216
net_buffer_length 16384
select_limit  1000
max_join_size 100

Anyone knowing what to do? It's pretty urgent cause I'm having this 
big database for a project that is to big to import using phpmyadmin - 
causes the browser to time out...

Sincerely

Victor




--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]