Tweetypie Posted July 30, 2003 Share Posted July 30, 2003 I had installed mysql and created my own database etc. but then i had trouble connecting to it, so i looked at the privileges, and they seemed to ok, but it wouldnt connect! Then some of the databases that come along with mysql disappeared and i only had \'mysql\' and \'test\' showing in \'mysqladmin\'. I thought there was something wrong so i\'ve installed mysql again. What i want to know is whether mysql only comes along with the two databases i.e \'mysql\' and \'test\' as i had two others before one of them which was \'library\'. Will mysql work fine when i create my own database with \'mysql\' and \'test\' that comes along with it, or does it come along with anyother databases that you need inorder for it to work? PLEASE PLEASE SOMEONE CLARIFY THIS FOR ME, AS IM CONFUSED!!! The last thing i wanted to know was, as i have installed mysql how do i ensure that i am the root user? or grant myself all the privileges?? So that i am able to connect to it! do i need to assign myself the privileges first before i create my own database or can it also be done after? I had this as a major problem before and i tried using the following: GRANT ALL ON <mydatabase>.*TO ODBC@localhost IDENTIFIED BY <\"password\"> among other commands similar to this but it didnt work, and still wouldnt let me connect. Quote Link to comment Share on other sites More sharing options...
shivabharat Posted July 31, 2003 Share Posted July 31, 2003 Mysql database is the one which you have look for because you have a table called \"user\" which is used to add and give him privelage. By default \"root\" user password <blank> is given the full rights. SO log in as root and have a look at the user table. If you are using windows OS get yourself Sqlyog tool which can be really handy. Quote Link to comment Share on other sites More sharing options...
Pout Posted July 31, 2003 Share Posted July 31, 2003 or Navicat, a very nice interface to create, adjust, dump, import, export the databases Quote Link to comment Share on other sites More sharing options...
Tweetypie Posted July 31, 2003 Author Share Posted July 31, 2003 ok. thanks for replying! I just wanted to know what program do i use to open scripts/mysql_install_db. ? i.e when you double click the window \'Open with\' pops up to select a program inorder to open the application. im not sure what to open it as?? how do you log in as a root user and make your self the main user so that you have all privileges and also assign a password which is for you. Can someone plz show me the commands etc what i need to type to enable me to do that. Quote Link to comment Share on other sites More sharing options...
Arenium Posted August 1, 2003 Share Posted August 1, 2003 sorry if i am mistaken, but i\'m gonna treat you like a newb like pout and recommend phpMyAdmin (or some other gui mysql interface). When working with these, you\'ll find it infinitely easier to administer your DB\'s from complex tasks to simple bare-bones permissions and users handling. http://phpmyadmin.sf.net i also wrote a tutorial myself on how to painlessly install phpmyadmin on any of the newer linux distros. I submitted it to a pal i met at yaxay and his site seems to be down temporarily. PM or email me if you really want to read my tutorial. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.