LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   setting up mysql (https://www.linuxquestions.org/questions/linux-general-1/setting-up-mysql-36245/)

banelion 11-23-2002 08:09 AM

setting up mysql
 
i would delete the last post but em too stupid :(

i have MySQL-3.23.53a-1.i386.rpm setup atm, and nfi what to do with it.

most of the stuff in the documentation is on windows >:(


shell> ./scripts/mysql_install_db

^it says to do that after installing, i dont even have a /scripts/ folder in root :/

well, there is more, it seems like the documentation is for an entirely different product to me.

i can give the ssh pw if someone could please help me that way

markus1982 11-23-2002 11:14 AM

First of all I would never ever hand out ANY passwords! Especially not on forums, etc!

Second, you need to do a rpm -i <filename>


The ./scripts/mysql_install_db is relative to the install path of MySQL. For the RPM-Release this would be something like
/usr/bin/mysql_install_db

To locate it after you've installed the package do find / -name mysql_install_db but for the RPM package most of the stuff is done itself AFAIK.

imposter 11-28-2002 10:20 AM

markus good advice.

I had basically the same problem and solved it with a combination of the following advice and one from another thread in this forum. To get mysqld started I used:

shell>mysql -u root mysql

This gets a mysqld process started then followed the instructions on this page:-

http://www.devshed.com/Server_Side/P...ess/page6.html

Got everything working fine, now to setup PHP..... Let the games begin!


All times are GMT -5. The time now is 02:09 PM.