Wednesday, 15 February 2012

Java & MySQL connection frustration -


I get Java & amp; My sql I was following, and now I'm stuck ... completely

I have asked all the videos that MySQL has asked to install JDBC, however, when I "mysql5 - U mysqladm -p "and then try to enter mysql (my mac) terminal, it comes back to me with the message" command not number "found.

Right now there is absolutely confusion why this is happening because it is the same which he typed during the tutorial and it works, notably for him on occasion.

Thanks in advance for any help!

MySQL is probably not in your way: Do the following from the terminal:

To determine that mysql is running:

  ps aux | Grep mysql | Grep -v grep   

To know where mysql stays:

  sudo find / -name mysql   < P> The above command can give you a bunch of output. For example:  
  / usr / local / mysql /usr/local/mysql-5.7.1-m11-osx10.7-x86_64/bin/mysql/usr/local/mysql-5.7 . 1-m11-osx10.7-x86_64 / data / mysql /usr/local/mysql-5.7.1-m11-osx10.7-x86_64/include/mysql   

In this case, You are looking for another ( bin ) to go to that directory and try ./ mysql

to verify that it is in your Do not do this:

  $ PATH echo   

To add it to your path:

  export PATH = $ PATH: & lt; Whatever path to your installation & gt;    

No comments:

Post a Comment