MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Tobias Eriksson Date:September 18 2002 10:55am
Subject:RE: Start mysqld-nt from command line with SPACES in the path, how?
View as plain text  
But here you do not specify the --data "c:\Program Files\........"
option. The space couldn't be handled by the mysqld-nt exe, I believe it
could have something to do with the fact that it interprets the
arguments as 3 strings instead of 2.

Regards
 Tobias

Tobias Eriksson
ComOpt AB
Michael Löfmans gata 6
254 38  Helsingborg, Sweden
Direct: +46 42 389918
Phone: +46 42 389900
e-mail: Tobias.Eriksson@stripped


-----Original Message-----
From: Egor Egorov [mailto:egor.egorov@stripped] 
Sent: 16 September 2002 15:59
To: mysql@stripped
Subject: re: Start mysqld-nt from command line with SPACES in the path,
how?


Tobias,
Monday, September 16, 2002, 2:33:10 PM, you wrote:

TE>  I am trying to start up the database, mysql, on a windows machine. 
TE> I installed it into a dir under c:\Program Files\ComOpt\CellOpt 
TE> AFP\database\. As you can see there are SPACEs here, if I am using 
TE> the config file; c:\winnt\my.ini everything is working just fine, 
TE> however when I try to start the server from the command line it 
TE> breaks. It can not work with spaces on the command line. The problem

TE> is you see that I have to get it wokring this way, as I would like 
TE> to use, start up, mysql on the machine without beeing dependent on 
TE> any other previous or current installations (no old my.ini for 
TE> example). All the config files are located in any of three places, 
TE> unfortunately that is rather difficult to handle with several mysql 
TE> database running at the same time. So what I want is to be able to 
TE> run several mysql servers completely independet from one another.

TE> Has anyone started the server without using the config files, 
TE> straight from the command line using SPACES in the path to the main 
TE> mysql directory.

Yes, and it worked well:

E:\> "E:\Program Files\MySQL4.0.3\bin\mysqld-max-nt.exe" --standalone
--console 020916 15:57:47  InnoDB: Out of memory in additional memory
pool.
InnoDB: InnoDB will start allocating memory from the OS.
InnoDB: You may get better performance if you configure a bigger
InnoDB: value in the MySQL my.cnf file for
InnoDB: innodb_additional_mem_pool_size.
020916 15:57:47  InnoDB: Started
E:\Program Files\MySQL4.0.3\bin\mysqld-max-nt.exe: ready for connections



-- 
For technical support contracts, goto
https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   Egor.Egorov@stripped
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <mysql-thread119704@stripped>
To unsubscribe, e-mail
<mysql-unsubscribe-tobias=comopt.com@stripped>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Thread
Start mysqld-nt from command line with SPACES in the path, how?Tobias Eriksson16 Sep
  • Re: Start mysqld-nt from command line with SPACES in the path, how?Gerald R. Jensen16 Sep
  • re: Start mysqld-nt from command line with SPACES in the path, how?Egor Egorov16 Sep
RE: Start mysqld-nt from command line with SPACES in the path, how?Tobias Eriksson16 Sep
  • RE: Start mysqld-nt from command line with SPACES in the path, how?Jan Muszynski16 Sep
RE: Start mysqld-nt from command line with SPACES in the path, how?Tobias Eriksson18 Sep