Hello,
Not sure if this is the right place to put this, but here goes.
Attempting to install jdbc driver so I can connect my java programs to a mysql server.
This is what I have done:
- downloaded mysql-connector-java-5.1.16.zip file from mysql.com.
- Following instructions to install using a bash shell, I typed into my terminal:
sudo export set CLASSPATH=/path/mysql-connector-java-5.1.16-bin.jarCLASSPATH
Password:
This is the error I get:
sudo: export: command not found
export is among my commands on my machine.
I have tried various ways of typing the export command: using no 'sudo' results in nothing I think, just returns to current directory. If that means it was successful I do not no how to check. I did try to run my java program but did not connect successfully.
I am really stuck, lost, where is my 'export' command?
Any questions or advice, please help, Thanks!
Not sure if this is the right place to put this, but here goes.
Attempting to install jdbc driver so I can connect my java programs to a mysql server.
This is what I have done:
- downloaded mysql-connector-java-5.1.16.zip file from mysql.com.
- Following instructions to install using a bash shell, I typed into my terminal:
sudo export set CLASSPATH=/path/mysql-connector-java-5.1.16-bin.jarCLASSPATH
Password:
This is the error I get:
sudo: export: command not found
export is among my commands on my machine.
I have tried various ways of typing the export command: using no 'sudo' results in nothing I think, just returns to current directory. If that means it was successful I do not no how to check. I did try to run my java program but did not connect successfully.
I am really stuck, lost, where is my 'export' command?
Any questions or advice, please help, Thanks!