[MDEV-4131] not able to start the MariaDB daemon Created: 2013-02-03  Updated: 2013-02-03  Resolved: 2013-02-03

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Mani Sundarigari Assignee: Unassigned
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

linux



 Description   

running ./bin/mysqld_safe --datadir='/demarialab1/pocinst/data/dbs' --defaults-file='/demarialab1/pocinst/tmp/my.cnf' --basedir=$MARIA_HOME --log-warnings=2

seeing err..any advice on this ?
130203 14:43:29 [ERROR] /demarialab1/pocinst/product/mdb/maria/bin/mysqld: unknown variable 'defaults-file=/demarialab1/pocinst/tmp/my.cnf'
130203 14:43:29 [ERROR] Aborting



 Comments   
Comment by Elena Stepanova [ 2013-02-03 ]

--defaults-file should be the very first option on the command line, otherwise it won't be recognized. For example, in your case it should be

./bin/mysqld_safe --defaults-file='/demarialab1/pocinst/tmp/my.cnf' --datadir='/demarialab1/pocinst/data/dbs' --basedir=$MARIA_HOME --log-warnings=2

Comment by Mani Sundarigari [ 2013-02-03 ]

Thanks for your help..I have fixed all these..

i checked ps -ef |grep maria and i see the mysqld daemon started with correct port.

Now i am not getting how to check if the instance is up and connect to db as i did not run this './bin/mysqladmin' -u root -h vlmmk644 password 'new-password' and dont know root pwd.

Generated at Thu Feb 08 06:54:00 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.