ubuntu-12.10

Set mysql skip-networking to off

早过忘川 提交于 2019-11-30 22:12:54
I'm trying to setup my Ubuntu 12.10 server to accept remote mysql connections, however I am having difficulties setting skip-networking to off. Note I have already set the bind-address to the internet facing IP, instead of 127.0.0.1. When I look in /etc/mysql/my.conf, the line "skip-networking" doesn't exist, however when I "mysql -p -u root" and then "SHOW VARIABLES;" "skip-networking" is "ON". I have added it as "#skip-networking" and restarted mysql service too. I have looked to see if there are any stray my.conf files around in my home folder and /etc/ to no luck. I am using mysql 5.5.

Set mysql skip-networking to off

烈酒焚心 提交于 2019-11-30 18:15:28
问题 I'm trying to setup my Ubuntu 12.10 server to accept remote mysql connections, however I am having difficulties setting skip-networking to off. Note I have already set the bind-address to the internet facing IP, instead of 127.0.0.1. When I look in /etc/mysql/my.conf, the line "skip-networking" doesn't exist, however when I "mysql -p -u root" and then "SHOW VARIABLES;" "skip-networking" is "ON". I have added it as "#skip-networking" and restarted mysql service too. I have looked to see if

Node.js source code build giving segmentation fault on ARM

微笑、不失礼 提交于 2019-11-29 03:48:51
tl;dr: I tried to install node.js on my ARMv7-based Cubox running Ubuntu 12.10 (quantal). When compiling node.js from source (see "Second attempt" below), node produces a segmentation fault. What can I do here? First attempt First of all, I tried to install node.js via the package manager, following the instructions for Ubuntu that are given here: Installing Node.js via package manager: Ubuntu, Mint Adding the repository mentioned there using sudo add-apt-repository ppa:chris-lea/node.js seems to work fine: You are about to add the following PPA to your system: Evented I/O for V8 javascript.

strange permissions problems for virtualenv python executable (lubuntu-12.10)

懵懂的女人 提交于 2019-11-28 23:34:20
In brief, my problem is that when I try to create a virtualenv using mkvirtualenv from virtualenvwrapper, I get the following error: $ mkvirtualenv test New python executable in test/bin/python ERROR: The executable test/bin/python could not be run: [Errno 13] Permission denied However, when I look at the permissions for the binary, as far as I can tell, everything should be fine... $ ll ~/.virtualenvs/test/bin total 2604 drwxr-xr-x 1 (username) staff 5 Feb 7 19:10 ./ drwxr-xr-x 1 (username) staff 5 Feb 7 18:51 ../ -rwxr-xr-x 1 (username) staff 2655776 Feb 7 19:10 python* lrwxrwxrwx 1

C++ / mysql Connector - undefined reference to get_driver_instance - already tried the easy stuff

≡放荡痞女 提交于 2019-11-28 05:26:40
Yes this question has been asked before ... I've tried everything mentioned in the previous answers. My setup is really straightforward so this shouldn't be so hard. I just want to program against mysql using C++. My source code is taken verbatem from the 'hello world' type example here: http://dev.mysql.com/doc/refman/5.1/en/connector-cpp-examples-complete-example-1.html I am on Ubuntu 12.10. I am trying: g++ -Wall -o firsttry_prog -I/usr/include/mysqlcppconn -I/usr/local/boost_1_53_0 -L/usr/lib/x86_64-linux-gnu -l:libmysqlclient_r.so.18 -L/usr/lib/mysqlcppconn -lmysqlcppconn firsttry.cpp It

wxTaskBarIcon in Ubuntu 12.10

心不动则不痛 提交于 2019-11-28 04:15:50
问题 I built wxWidgets 2.9.3 (for the moment I must stick to this version) under Ubuntu 12.10 and I can't seem to use wxTaskBarIcon class. The sample which is delivered with wxWidgets is compiling and running, but the icon itself is not showing on the taskbar itself. I checked my config, and I know, that compilation of wxWidgets libraries were executed with default setting (which is "yes" for taskbar support). Any idea how to make it working? Is this problem related with wxWidgets and/or Ubuntu

strange permissions problems for virtualenv python executable (lubuntu-12.10)

孤街浪徒 提交于 2019-11-27 21:20:50
问题 In brief, my problem is that when I try to create a virtualenv using mkvirtualenv from virtualenvwrapper, I get the following error: $ mkvirtualenv test New python executable in test/bin/python ERROR: The executable test/bin/python could not be run: [Errno 13] Permission denied However, when I look at the permissions for the binary, as far as I can tell, everything should be fine... $ ll ~/.virtualenvs/test/bin total 2604 drwxr-xr-x 1 (username) staff 5 Feb 7 19:10 ./ drwxr-xr-x 1 (username)

C++ / mysql Connector - undefined reference to get_driver_instance - already tried the easy stuff

纵饮孤独 提交于 2019-11-27 00:56:44
问题 Yes this question has been asked before ... I've tried everything mentioned in the previous answers. My setup is really straightforward so this shouldn't be so hard. I just want to program against mysql using C++. My source code is taken verbatem from the 'hello world' type example here: http://dev.mysql.com/doc/refman/5.1/en/connector-cpp-examples-complete-example-1.html I am on Ubuntu 12.10. I am trying: g++ -Wall -o firsttry_prog -I/usr/include/mysqlcppconn -I/usr/local/boost_1_53_0 -L/usr

How to get CMake to recognize pthread on Ubuntu?

百般思念 提交于 2019-11-26 19:35:21
问题 If I compile on the command-line with g++ directly, I can see everything I need is there: $ g++ -pthread test.cpp $ ldd a.out linux-vdso.so.1 => (0x00007fffd05b3000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f4a1ba8d000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4a1b870000) ...more... Then I try to create a simple cmake file for this 5-line test app: $ cat CMakeLists.txt PROJECT ( Test CXX ) CMAKE_MINIMUM_REQUIRED ( VERSION 2.8 ) FIND_PACKAGE (

Python Requests requests.exceptions.SSLError: [Errno 8] _ssl.c:504: EOF occurred in violation of protocol

一曲冷凌霜 提交于 2019-11-26 01:59:13
问题 I\'m on Ubuntu 12.10 with OpenSSL 1.0.1c, python 2.7.3, Requests 1.0.3 and 1.0.4 (tried both), and when attempting to connect to the website in the url variable with the following code. def SendInitialRequest(xmlmessage, redirecturl): url = \'https://centineltest.cardinalcommerce.com/maps/txns.asp\' payload = \'cmpi_msg=\' + ET.tostring(xmlmessage) headers = { \'Content-Type\': \'application/x-www-form-urlencoded\', } r = requests.post(url, data=payload, headers=headers, verify=None) print r