Upgrade to mysql 4.0 in Fedora Core 2

2004-07-12 Thread A. Lanza
After installing FC2 i realized that the mysql server version installed
was 3.x. I wanted to install version 4.0, so i got the rpm
package from mysql website and i installed it on my system.

Now it seems like mysql server is not running. I get no output for the
command ps -A | grep mysql. Also, when i try to connect to mysql
server using mysql client, i get the following error message:

ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)

It seems like mysql server does not automatically start when i boot up
my computer... how can i start it manually? Where in the filesystem does
mysql server get installed after installing the rpm?

Though, when i run the Gnome Service config. utility, i can see mysql
service on the list, with a checkmark, and it appears to be running...
i'm so confused about this.

Please help.

Thanks in advance.



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Upgrade to mysql 4.0 in Fedora Core 2

2004-07-12 Thread Justin Swanhart
brpm -qa|grep mysql/b will show you what mysql
packages you have installed.

You probably have both 3.x and 4.x packages installed
and assuming you don't have a 3.x database you want to
preserve, I would suggest uninstalling the 3.x package
with brpm --erase iname_of_3.x_package/i/b

To determine where the files in a package are
installed you can query the package via rpm.  To do so
simply do brpm -ql iname_of_package/i/b

You can use rpm -ql to find where the 4.0 rpm
installed its binaries and execute them from there.  


--- A. Lanza [EMAIL PROTECTED] wrote:
 After installing FC2 i realized that the mysql
 server version installed
 was 3.x. I wanted to install version 4.0, so i got
 the rpm
 package from mysql website and i installed it on my
 system.
 
 Now it seems like mysql server is not running. I get
 no output for the
 command ps -A | grep mysql. Also, when i try to
 connect to mysql
 server using mysql client, i get the following error
 message:
 
 ERROR 2002: Can't connect to local MySQL server
 through socket
 '/var/lib/mysql/mysql.sock' (2)
 
 It seems like mysql server does not automatically
 start when i boot up
 my computer... how can i start it manually? Where in
 the filesystem does
 mysql server get installed after installing the rpm?
 
 Though, when i run the Gnome Service config.
 utility, i can see mysql
 service on the list, with a checkmark, and it
 appears to be running...
 i'm so confused about this.
 
 Please help.
 
 Thanks in advance.
 
 
 
 -- 
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:   

http://lists.mysql.com/[EMAIL PROTECTED]
 
 


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]