mysql sever

16 views
Skip to first unread message

Rajitha Tennakoon

unread,
Apr 6, 2012, 8:18:23 AM4/6/12
to Hanthana Linux User Group
කවුරු හරි මට කියල දෙනවද හන්තාන ලිනක්ස් වලට mysql sever 5.5.22 දා ගන්න
විදිය ගැන.මම උත්සහ කළාට හරිගියෙ නෑ.Terminal එකේ මෙන්න මෙහෙම Message
එකක් එනවා.

error: Failed dependencies:
MySQL-server conflicts with (installed) mysql-
server-5.5.19-1.fc15.i686


කවුරු හරි පුළුවන් ඉක්මනට මේකට කරන්න පුළුවන් දෙයක් ගැන කියන්න..

The_Ace

unread,
Apr 6, 2012, 8:36:49 AM4/6/12
to hanthana-...@googlegroups.com
2012/4/6 Rajitha Tennakoon <raji...@gmail.com>:

Run as root from a command line :

Hanthana 15 :
# rpm -Uvh http://rpms.famillecollet.com/remi-release-15.rpm

Hanthana 14 :
# rpm -Uvh http://rpms.famillecollet.com/remi-release-14.rpm

Hanthana 12 :
# rpm -Uvh http://rpms.famillecollet.com/remi-release-12.rpm

Hanthana 11:
# rpm -Uvh http://rpms.famillecollet.com/remi-release-11.rpm

# yum --enablerepo=remi install mysql mysql-server

That'll install mysql 5.5.22. Obviosuly you need a working internet
connection for this.

Mihira.

Milinda Arambawela

unread,
Apr 6, 2012, 8:50:31 AM4/6/12
to hanthana-...@googlegroups.com
2012/4/6 Rajitha Tennakoon <raji...@gmail.com>:
> --
> -----------------------------------------------------------------------------------------------------------------------
>
> You received this message because you are subscribed Hanthana User Group.
> To post to this group, send email to hanthana-...@googlegroups.com
> To unsubscribe from this group, send email to
> hanthana-commun...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/hanthana-community?hl=en
>
> ඔබට මෙම ලිපිය ලැබෙන්නේ ඔබ හන්තාන පරිශීලක සමූහයට එක්වි ඇති නිසයි.
> මෙම සමූහයට ලිපියක් යැවීමට hanthana-...@googlegroups.com ඊමේල් ලිපිනය භාවිත කරන්න.
> මෙම සමූහයෙන් ඉවත් වීමට hanthana-commun...@googlegroups.com වෙත ලියන්න.
>
>
>   ~ Feel The Freedom ~
> Web Site: http://www.hanthana.org
> Blog       : http://blog.hanthana.org
> Identi.ca : http://identi.ca/hanthana
> Twitter    : http://twitter.com/hanthana

I have also this error.
$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)

Hiranya Gamhewa

unread,
Apr 6, 2012, 9:09:26 AM4/6/12
to hanthana-...@googlegroups.com
Milinda check whether mysqld is running or not  

Samith Samaraweera

unread,
Apr 6, 2012, 10:30:08 AM4/6/12
to hanthana-...@googlegroups.com
sudo tasksel install lamp-server

Me command 1n LAMP server 1ma install karanna try karanna.


2012/4/6 Hiranya Gamhewa <zri...@gmail.com>

Milinda Arambawela

unread,
Apr 6, 2012, 10:35:27 AM4/6/12
to hanthana-...@googlegroups.com
2012/4/6 Hiranya Gamhewa <zri...@gmail.com>:

I don't know.
but I have this error from mysql workbench.

Screenshot-1.png

Milinda Arambawela

unread,
Apr 6, 2012, 10:36:55 AM4/6/12
to hanthana-...@googlegroups.com
2012/4/6 Samith Samaraweera <samithsa...@gmail.com>:


ok.! මම හිතුවෙත් ඒකම තමා.

Samith Samaraweera

unread,
Apr 6, 2012, 10:40:29 AM4/6/12
to hanthana-...@googlegroups.com
Yep, Try to install whole LAMP server using above command

or

type sudo tasksel

and select LAMP server manually and try it.

2012/4/6 Milinda Arambawela <milinda...@gmail.com>

Danishka Navin

unread,
Apr 6, 2012, 10:43:03 AM4/6/12
to hanthana-...@googlegroups.com
yum update mysql-server -y

මේක තමා ලෙසිම විදිය

5.5.22 වැටෙනව හන්තාන 15.5 මත




2012/4/6 Milinda Arambawela <milinda...@gmail.com>



--
Danishka Navin
http://danishkanavin.blogspot.com
http://twitter.com/danishkanavin
http://www.flickr.com/photos/danishkanavin/




Kalpa Welivitigoda

unread,
Apr 6, 2012, 10:43:25 AM4/6/12
to hanthana-...@googlegroups.com
2012/4/6 Milinda Arambawela <milinda...@gmail.com>:

> 2012/4/6 Rajitha Tennakoon <raji...@gmail.com>:
>> කවුරු හරි මට කියල දෙනවද හන්තාන ලිනක්ස් වලට mysql sever 5.5.22 දා ගන්න
>> විදිය ගැන.මම උත්සහ කළාට හරිගියෙ නෑ.Terminal එකේ මෙන්න මෙහෙම Message
>> එකක් එනවා.
>>
>> error: Failed dependencies:
>>        MySQL-server conflicts with (installed) mysql-
>> server-5.5.19-1.fc15.i686
>>

try
sudo systemctl start mysqld.service

--
Best Regards,

Kalpa Pathum Welivitigoda
http://about.me/callkalpa

Milinda Arambawela

unread,
Apr 6, 2012, 10:44:47 AM4/6/12
to hanthana-...@googlegroups.com
2012/4/6 Samith Samaraweera <samithsa...@gmail.com>:


tasksel කියන්නේ මොක්ද?(command එකෙන් වෙන්නේ මොකක්ද)
අනික මම පාවිච්චි කරන්නේ yum install command එකයි.

Samith Samaraweera

unread,
Apr 6, 2012, 10:46:37 AM4/6/12
to hanthana-...@googlegroups.com
Very sorry

Its ubuntu command. mata waraduna.

Samith Samaraweera

unread,
Apr 6, 2012, 10:49:05 AM4/6/12
to hanthana-...@googlegroups.com

MySQL

NOTE:

This is the abbreviated process to setup MySQL.

 

  1. Installing and running the database component of the LAMP stack, called MySQL, is at least as easy. The following command will install the database and the server process.
  2. # yum install mysql mysql-server
  3. (F10 or older only) The server process must likewise be running and accessible.
  4. # /sbin/chkconfig  mysqld on
    
    # echo '-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT' >> /etc/sysconfig/iptables
    
    # /sbin/service iptables restart
    
    # /sbin/service mysqld start
  5. To test that everything is working okay so far, run this command to print out some information and check its status:
  6.  # mysqladmin version status

 



2012/4/6 Samith Samaraweera <samithsa...@gmail.com>

Lakshman

unread,
Apr 6, 2013, 9:46:28 AM4/6/13
to hanthana-...@googlegroups.com

හන්තාන උඩදී mysql වැඩකරගන්න ඕනේ.
[Lakshman@localhost ~]$ mysql

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[Lakshman@localhost ~]$ su -
Password:
[root@localhost ~]# mysql

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

yum update mysql-server -y
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: mirror.dhakacom.com
 * livna: rpm.livna.org
 * rpmfusion-free: ftp.nluug.nl
 * rpmfusion-free-updates: ftp.nluug.nl
 * rpmfusion-nonfree: ftp.nluug.nl
 * rpmfusion-nonfree-updates: ftp.nluug.nl
 * updates: mirror.dhakacom.com
Setting up Update Process
No Packages marked for Update


මෙහෙම තමයි පෙන්නන්නේ.

උඩ තියෙන හැම දෙයක්ම වාගේ කරලා බැලුවා. ප්‍රශ්නේ විසදුනේ නැහැ. පුළුවන් කෙනෙක් ඉන්නවා නම් උදව් කරන්න.


ලක්ෂ්මන් තිලකරත්න
 

Danishka Navin

unread,
Apr 6, 2013, 9:51:39 AM4/6/13
to Hanthana Community
Command Line:

service mysqld start
chkconfig mysqld on

ඉහත විධාන දෙකම දෙන්න.

Graphical User Interface එකෙදි:
Service Configuration (Hanthana 17) හෝ System > Administration > Services (හන්තාන 14,15 සහඳහා)
mysqld සේවාව තෝරා  Start සහ Enable යන බොත්තම් දෙකම ඔබන්න.




2013/4/6 Lakshman <laxdhee...@gmail.com>
--
--
-----------------------------------------------------------------------------------------------------------------------
 
You received this message because you are subscribed Hanthana User Group.
To post to this group, send email to hanthana-...@googlegroups.com
To unsubscribe from this group, send email to
hanthana-commun...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/hanthana-community?hl=en
 
ඔබට මෙම ලිපිය ලැබෙන්නේ ඔබ හන්තාන පරිශීලක සමූහයට එක්වි ඇති නිසයි.
මෙම සමූහයට ලිපියක් යැවීමට hanthana-...@googlegroups.com ඊමේල් ලිපිනය භාවිත කරන්න.
මෙම සමූහයෙන් ඉවත් වීමට hanthana-commun...@googlegroups.com වෙත ලියන්න.
 
 
~ Feel The Freedom ~
Web Site: http://www.hanthana.org
Blog : http://blog.hanthana.org
Identi.ca : http://identi.ca/hanthana
Twitter : http://twitter.com/hanthana
 
---
You received this message because you are subscribed to the Google Groups "Hanthana Linux User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hanthana-commun...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Lakshman Thilakarathna

unread,
Apr 6, 2013, 10:02:34 AM4/6/13
to Hanthana Community
ස්තුතියි ඩනිෂ්ක. mysqld සේවාව Start කලා(Enable සක්‍රිය වුනේ නැහැ).
නමුත් එය ක්‍රියාත්මකයි.

[root@localhost ~]# mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.5.23 MySQL Community Server (GPL)

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>


2013/4/6 Danishka Navin <dani...@gmail.com>
Reply all
Reply to author
Forward
0 new messages