• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

how do i use MySQL? i get errors...

Chooco

Banned
i installed the latest MySQL by extracting the file so that the folder of mysql is /usr/local/mysql
as root i went into the mysql/bin and tried these commands:
./mysql
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
./mysqladmin
gives a whole ton of possible commands...

in the list of commands i didn't see anything that appeared to be the command to make a new host or define it or something like that.....how do i create a mysql host?
it's either i do the MySQL thing or i try to figure out how the heck to use Perl, this seems easier lol 😉
 
You need to run mysqld first, it's the daemon that actually does the database stuff.

Why didn't you install the RPM? That would have put startup scripts and man pages in easily found places...
 
Yep, what nothingman said. You have to run the server (mysqld) before the client (mysql) will work.

To see if you're running the server:

ps -fea | grep mysqld

I'd suggest a visit to the mysql documentation is in order. It's really pretty good.
 
Back
Top