Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In your my.cnf file, you need to edit the InnoDB section. REM out the lines that talk about InnoDB (using the # symbol). Your /etc/my.cnf file should look something like this:
OK, to start up at boot is a fun, but not too hard (just not intuitive).
There are a few steps, and I will start them with line numbers. All shell> mean you should be root, at the /path/to/mysql (ie [root@localhost mysql] >). If you are not root, these inst. won't work...
to make life easy on you (if you didn't install the RPM and installed the binary) you will need to copy a couple of files to your /usr/bin directory. Still as root and still at mysql dir:
Those are the big ones that you will use more often than not. Let me know if you need anything else for your MySQL. And have fun with it. To make life easy to start learning SQL syntaxt, you might want to download the MySQL Control Center. It makes it easy to learn syntaxt from scratch.
Did you install the binaries or the RPMs? If you installed the RPMs, look at /etc/my.cnf for your config. If you installed the binaries, they are in your mysql/support-files folder
well i installed straight off the fedora core 1 cd. so i would assume its the rpm since thats the "red hat way"
my.cnf doesn't look like what you posted it should.. it looks like the first one:
i ran this: cat /etc/my.cnf (which returned the following)
now i've gotten my password changed but i still cant connect with mysql cc from my other computer.. i get an error message "the host <my local ip> is not allowed to access this mysql server"
so my main qustion is how the HECK do i add an ip to the connect list
the main reason is becaues i'm using the other computer for all my website administration, i have an ssh connection and stuff.. so i just remote to my server, because its easier than running accross the house to make a quick change ^_^
Step 3 - Read the README on the installation. Email me directly or just look up on here if you have any problems.
Step 4 - To add a computer account, log onto mysql (on Fedora) using the
shell> mysql -u <username> -p <database_name>
Then:
mysql> GRANT <privileges> ON <database> TO 'username'@'computer_name' IDENTIFIED BY <password> USING GRANT OPTION;
<privildges> range from SELECT, UPDATE, DELETE (see documentation or MySQL CC for other options)
'username'@'comp_name' you must use the backticks. Use '%' as a wildcard (example ... to '_darklordizm_'@'%' ... means any computer anywhere. This can be a security problem, so it's best if you put the individual hostname in for every user).
That's it. Email me if you have any other questions!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.