skip-grant어쩌구 우회해서 접속하고 변경해도 안되길래

마구마구 검색을 해봤는데


mysql과 mariadb의 보안정책상 db에 root 계정 접속시에는

계정도 root로(그러니까 sudo 쓰던가) 접근해야 한다.

라는 결론


$ sudo mysql -uroot -p

[sudo] password for odroid:

Enter password:

Welcome to the MariaDB monitor.  Commands end with ; or \g.

Your MariaDB connection id is 34

Server version: 10.0.34-MariaDB-0ubuntu0.16.04.1 Ubuntu 16.04


Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.


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


MariaDB [(none)]> 


[링크 : https://stackoverflow.com/.../access-denied-for-user-rootlocalhost-using-password-yes-after-new-instal]



+

라즈베리 파이는 5.5.59 버전으로 root에 로그인시 root 권한이 필요없다.

5.5~8.0 사이에 변화가 있었던거 같은데 changelog에서 뒤지다가 포기..

$ mysql --version

mysql  Ver 14.14 Distrib 5.5.59, for debian-linux-gnu (armv7l) using readline 6.3 


$ mysql -uroot -p

Enter password:

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 367

Server version: 5.5.59-0+deb8u1 (Raspbian)


Copyright (c) 2000, 2018, 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>


mysql은

5.5/5.6/5.7->8.0 으로 점프했고


mariadb는 

5.5->10.0 으로 점프했다.

Posted by 구차니

핸드폰에서 보다 보니 보여서 검색하는데 들어갈데가 애매해서 일단 kodi에 넣어둠..


wifi direct는 DLNA와 연동해서 쓰기도 하는데 딱히 상관은 없다.

ad-hoc 방식으로 서로 연결하는 비슷한 느낌이고

별도의 IP stack을 이용해서 구현하는 것으로 보인다.


그리고.. 라즈베리 파이 3의 경우 Wifi가 있긴한데

해당 칩셋(리얼텍)이 wifi direct로는 정상작동하지 않아서 작업중인 것으로 보인다.


[링크 : http://hamait.tistory.com/300] << 안드로이드 프로그래밍

[링크 : https://ko.m.wikipedia.org/wiki/와이파이_다이렉트]

'프로그램 사용 > kodi(xbmc)' 카테고리의 다른 글

kodi 전체화면 / 창화면  (0) 2020.07.05
kodi 단축키  (0) 2020.03.29
KODI / DLNA 설정  (0) 2018.04.02
openelec 블루투스 연결하기  (0) 2018.03.07
libreelec  (0) 2018.02.21
Posted by 구차니

Airplay (apple)

Allshare (samsung)

Smartshare (lg)


업체별로 DLNA를 표기하는 명칭이 다르다.

아무튼.. 이걸 설정하면 다른 출력기기로 영상을 보내버릴수 있다.

편의상(?) DLNA는 Wifi-direct나 유/무선 네트워크와 연동이 된다.


[링크 : https://kodi.wiki/view/UPnP]

[링크 : https://kodi.wiki/view/Settings/Services/UPnP_DLNA]


[링크 : http://iptime.com/iptime/?pt=231&page_id=67&uid=7408&mod=document]

[링크 : https://giverhell.com/2017/01/15/how-to-stream-from-iphone-ipad-or-android-to-kodi/]

[링크 : http://www.lg.com/.../wifidirect_all/kora/w14__share__wifidirect_all__kora.html]




'프로그램 사용 > kodi(xbmc)' 카테고리의 다른 글

kodi 단축키  (0) 2020.03.29
Wifi direct  (0) 2018.04.02
openelec 블루투스 연결하기  (0) 2018.03.07
libreelec  (0) 2018.02.21
openELEC HDMI CEC  (0) 2018.02.19
Posted by 구차니
프로그램 사용/Blender2018. 3. 19. 13:12

'프로그램 사용 > Blender' 카테고리의 다른 글

블렌더 강좌? (유료)  (0) 2021.08.07
blender 포켓몬 애니메이션  (0) 2020.08.08
blender netrender 잠시 된건가..  (0) 2016.11.23
blender netrender / incorrect master version  (0) 2016.11.22
blender netrender 구조  (0) 2016.11.19
Posted by 구차니

System - OpenELEC - Services - Bluetooth 사용

System - OpenELEC - Bluetooth - 페어링

그나저나 PIN치기 빡세겠구만.. ㄷㄷ


[링크 : http://misapuntesde.com/post.php?id=333]


+

집에와서 해보니 키보드로 치는거라 편함 ㅋ

'프로그램 사용 > kodi(xbmc)' 카테고리의 다른 글

Wifi direct  (0) 2018.04.02
KODI / DLNA 설정  (0) 2018.04.02
libreelec  (0) 2018.02.21
openELEC HDMI CEC  (0) 2018.02.19
openELEC 8.0 관련  (0) 2017.05.16
Posted by 구차니
프로그램 사용/MAME2018. 3. 7. 13:19

retropie

GUI 상에서 제공하진 않고 콘솔상에서 CUI를 통해 제공

[링크 : https://github.com/RetroPie/RetroPie-Setup/wiki/Bluetooth-Controller]



결국 콘솔인가?

recalbox

On keyboard

Tape F4

ALT+F2

Need root access : LOGIN(root) Password (recalboxroot)

hcitool scan

aa:bb:cc:dd:ee:ff Name:Bluetooth HID

hidd --connect aa:bb:cc:dd:ee:ff /etc/init.d/S31emulationstation start 

[링크 : https://github.com/recalbox/recalbox-os/wiki/Connect-Bluetooth-Controller-HID-with-hcitool---hidd]

수동으로 연결하기

[링크 : https://github.com/recalbox/recalbox-os/wiki/Connect-bluetooth-controller-manually-(EN)]


리콜박스 호환성 목록(동글 및 조이스틱 등)

[링크 : https://github.com/recalbox/recalbox-os/wiki/Compatibility-%28EN%29]


+

2018.03.08

recalbox는 openelec 포함인데.. 여기서 설정하면 recalbox에도 적용 되려나?


'프로그램 사용 > MAME' 카테고리의 다른 글

레트로 파이 coin select GPIO로 연결하기  (0) 2018.05.16
retropie spi lcd  (0) 2018.05.16
MAME 조이스틱 설정  (0) 2018.03.03
어트랙트 모드  (0) 2018.02.27
recalbox 스플래시 음악 끄기  (0) 2018.02.23
Posted by 구차니
프로그램 사용/MAME2018. 3. 3. 22:19

설정파일 어디 없나..

오늘 획득한(!) 조이스틱이 PS3 호환인거 같은데(형태와 키만)

Trigger와 shoulder를 어떻게 써야 하려나?


[링크 : https://github.com/RetroPie/RetroPie-Setup/wiki/Controller-Configuration]

[링크 : https://retropie.org.uk/docs/RetroArch-Configuration/]

'프로그램 사용 > MAME' 카테고리의 다른 글

retropie spi lcd  (0) 2018.05.16
relcabox / retropie 블루투스 연결  (0) 2018.03.07
어트랙트 모드  (0) 2018.02.27
recalbox 스플래시 음악 끄기  (0) 2018.02.23
mess - Multi Emulator Super System  (0) 2018.02.22
Posted by 구차니
프로그램 사용/MAME2018. 2. 27. 16:29

월광보합이라는 애가 어트랙트 모드를 이용해서

UI를 하나 덧 씌운거였구나..


[링크 : http://www.ppomppu.co.kr/zboard/view.php?id=gamer&no=27290]

'프로그램 사용 > MAME' 카테고리의 다른 글

relcabox / retropie 블루투스 연결  (0) 2018.03.07
MAME 조이스틱 설정  (0) 2018.03.03
recalbox 스플래시 음악 끄기  (0) 2018.02.23
mess - Multi Emulator Super System  (0) 2018.02.22
MAME 버전 정리  (0) 2018.02.22
Posted by 구차니
프로그램 사용2018. 2. 27. 09:47

증상 : 이미지 크기가 작은데 이상하게 PSD 파일 용량이 큼

원인 : 특정 이미지에서 얻어온 EXIF 정보 중 XMP 데이터 오염(?)

자세히 : photoshop:DocumentAncestors하위의 rdf:Bag 세부 내용이 넘쳐남

<?xpacket begin="" id="..."?>

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.0-c060 61.134777, 2010/02/12-17:32:00        ">

   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

      <rdf:Description rdf:about=""

            xmlns:xmp="http://ns.adobe.com/xap/1.0/">

         <xmp:CreatorTool>Adobe Photoshop CC 2014 (Windows)</xmp:CreatorTool>

         <xmp:CreateDate>2018-02-27T09:17:54+09:00</xmp:CreateDate>

         <xmp:MetadataDate>2018-02-27T09:17:55+09:00</xmp:MetadataDate>

         <xmp:ModifyDate>2018-02-27T09:17:55+09:00</xmp:ModifyDate>

      </rdf:Description>

      <rdf:Description rdf:about=""

            xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/">

         <photoshop:ColorMode>3</photoshop:ColorMode>

         <photoshop:ICCProfile>sRGB IEC61966-2.1</photoshop:ICCProfile>

         <photoshop:DocumentAncestors>

            <rdf:Bag>

               <rdf:li/>

               <rdf:li>0</rdf:li>

               <rdf:li>...</rdf:li>

               <rdf:li>...</rdf:li> 



해결방법

1. PSD 파일

File - Script - Script Events Manager


remove.jsx 로 저장 후(adobe javascript) export나 save에 연결해주면 끝!

// https://forums.adobe.com/message/8511978#8511978

function deleteDocumentAncestorsMetadata() {  

    whatApp = String(app.name);//String version of the app name  

    if(whatApp.search("Photoshop") > 0)  { //Check for photoshop specifically, or this will cause errors  

        //Function Scrubs Document Ancestors from Files  

        if(!documents.length) {  

        alert("There are no open documents. Please open a file to run this script.")  

        return;   

        }  

        if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");   

        var xmp = new XMPMeta( activeDocument.xmpMetadata.rawData);   

        // Begone foul Document Ancestors!  

            xmp.deleteProperty(XMPConst.NS_PHOTOSHOP, "DocumentAncestors");  

            app.activeDocument.xmpMetadata.rawData = xmp.serialize();  

         }  

}  

//Now run the function to remove the document ancestors  

deleteDocumentAncestorsMetadata();

[링크 : http://prepression.blogspot.com/2017/06/metadata-bloat-photoshopdocumentancestors.html]

  [링크 : https://forums.adobe.com/thread/2340460]


2. JPEG 파일

File - Save as Web - Metadata : None

[링크 : https://photographylife.com/how-to-delete-exif-data]



+

해결하고 나서 보긴 했는데 댓글에 조금 도움이 되는 내용 있음

[링크 : https://brunch.co.kr/@mrlees/9]

Posted by 구차니
프로그램 사용/MAME2018. 2. 23. 19:37

나만 시끄러운게 아니었군

일단.. 스플래시 동영상을 삭제하라는 이야기나

설정 파일에서 제외하는건 아직 못 찾았고


해당 동영상의 소리를 줄어들게 인코딩 하거나, 소리를 뺴버리도록 인코딩 하는걸로 결론이.. -_-a

cd /recalbox/system/resources/splash

ffmpeg -i recalboxintro.mp4 -c copy -an recalboxintro-nosound.mp4

ffmpeg -i recalboxintro.mp4 -vcodec copy -strict -2 -af "volume=-15dB" outputfile.mp4 

[링크 : https://forum.recalbox.com/topic/6982/disabling-startup-sound-in-4-1-unstable/4]

'프로그램 사용 > MAME' 카테고리의 다른 글

MAME 조이스틱 설정  (0) 2018.03.03
어트랙트 모드  (0) 2018.02.27
mess - Multi Emulator Super System  (0) 2018.02.22
MAME 버전 정리  (0) 2018.02.22
lakka 2.1  (0) 2018.02.22
Posted by 구차니