setting password for mysql user in startup
Hi ,
I am using mysql in linux . Code:
$ mysql --version Code:
sudo mysqladmin -u root password root123 Quote:
Any ideas ? |
None of that makes any sense, actually...
Are you referring to the mysql start script where you are setting the password? Why would you set a root user password from the startup script? And why would you think that would enable a client to connect to a database server? Why would you think that had anything to do with running a jar file? What connection parameters are set for the connection and how does the java program use them? These are not rhetorical questions, perhaps your application instructs you to do this, but it is very strange. Also, what distro, what java application, what does the application documentation say is required for the db connection? Much more information would elp. |
i am using tiny core 4.7.7
i have installed mysql.tcz Code:
~$ java -version I even added following script in startup to check if my sql is running then set password Code:
#!/usr/local/bin/bash 'mysql running root password for mysql set to root123' But password has to be set again in terminal , like before . |
even created file .my.cnf
Code:
[client] The problem persists . |
|
All times are GMT -5. The time now is 06:36 AM. |