homer_3 |
05-12-2008 09:45 AM |
Connecting to MySQL on Solaris?
I have mysql installed on SunOS 5.9 which I've read is referred to as Solaris. I've got mysql running using /etc/init.d/mysql start but I can't figure out how to connect to it. Normally, I'd connect to it using mysql -u <username> -p. But that's not working. I get an error saying -p isn't recognized and if I leave it out it gives me a usage error saying it only accepts start,stop,restart,status,help,force-reload,reload.
I'm not the one who installed it and the guy who did is gone and didn't leave any documentation. Does this setup sound familiar to anyone? Do you know how I can connect so I can write some sql to add new tables?
|