Software :: Running Mysql-python Interface?

Nov 30, 2010

I just took a class on sql, unfortunately, it was Windows-centric, which means I have to figure out how to do stuff in Redhat by myself. By installing mysql via yum and then running pirut, I find there is an interface type program called MySQL-python-1.2.1-1.x86_64 so I installed it but I'll be danged if I can find any information on how to actually run the thing. What is the command to start MySQL-python-1.2.1-1.x86_64?

View 6 Replies


ADVERTISEMENT

Programming :: Use Glade With C/python To Create A Graphical User Interface

Jan 30, 2011

I am working with ubuntu (linux) and have to create a graphical user interface. The GUI is a 2-D plot that have to plot a point. The point ( x and y co-ordinates) are not hardcoded, and are coming from another file (another piece of code written in c / python). I was thinking to use Glade with c/python to create this. But, I am not sure how to start with this.

View 4 Replies View Related

Red Hat :: Use Mysql Gui Interface In Fedora 12?

Sep 16, 2010

I have installed full package of mysql in fedora 12 ,and able to work through command line
interface but not able to connect through gui interface

out on how to use it

View 2 Replies View Related

Debian Configuration :: PIP Installation Fails For MySQL Connector Python

Apr 6, 2016

I got assigned to a project, where the installation is done over ansible. As I'm new in linux, python, django, ansible I wanted to try this out on a empty linux debian.

Code: Select alluname -a

Linux DebianABC 3.16.0-4 amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86 64 Gnu/Linux

When I now run my ansible playbook it tries to install mysql and suddenly I get an error:

Code: Select all:stderr: DEPRECATION: --allow-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.

DEPRECATION: --allow-unverified has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.

Could not find a version that satisfies the requirement mysql-connector-python==1.0.12 (from -r /home/abc/abcTest/requirements.pip (line 36)) (from versions: )

No matching distribution found for mysql-connector-python==1.0.12 (from -r /home/abc/abcTest/requirements.pip (line 36))

FATAL: all hosts have already failed -- aborting

So I checked the target machine and tried to run

pip install -vvv -r requirement.txt mysql-connector-python

As version 1.0.12 is an old version, I was searching and tried the following: [URL] ....

But also if I run the installation by direct download I have the same error message:

Code: Select allabc@DebianABC:/home/abc/abcTest$ pip install -r requirements.pip -vvv mysql-connector-python
Collecting http://cdn.mysql.com//Downloads/Connector-Python/mysql-connector-python-1.0.12.tar.gz (from -r requirements.pip (line 36))
  Starting new HTTP connection (1): cdn.mysql.com
  "GET //Downloads/Connector-Python/mysql-connector-python-1.0.12.tar.gz HTTP/1.1" 200 230923

[Code] ....

I was reading about the version requirements from PEP: [URL] .... but as the version looks ok, this should not be the problem.

View 0 Replies View Related

Fedora Servers :: Install MySQLbd (a Module For Python To Connect And Access MySQL)?

Sep 28, 2009

I was trying to install MySQLbd (a module for python to connect and access MySQL) I followed these steps for installation[URL].. but while I am getting some installation errors. When I try to run $ python set.py build I am getting the following errors (I removed few errors as I can post more than 10000 characters here)

[Code]...

View 3 Replies View Related

Ubuntu :: What Version Of Python You Are Running

Jul 7, 2010

I need to know what version of python I am running. I am running ubuntu 10.04 and am going to be downloading wxpython but need to know what version of python I am running.In php there is a built in command phpinfo() that tells you everything you need to know about your installation of php, does python have something like this?Also, learned of python 2.7 today, I am currently learning python and am wondering if i should go ahead and upgrade or wait??

View 3 Replies View Related

Programming :: Python: List Running Audio Processes?

Jul 19, 2010

I am trying to get a list of running processes using audio (using gstreamer), just like in gnome-volume-control, under applications, but have so far been unsuccessful in finding anything in either the gtk or gstreamer library, anyone out there who can point me in the right direction?

View 1 Replies View Related

Programming :: Python: Determine If Running In 32 Or 64bit Mode?

Jun 23, 2011

How can I programmatically determine if my python script is being run with a 32 or 64 bit interpreter? Better yet, is there a one-liner I can run that will print out the word size of the current python session?

View 6 Replies View Related

CentOS 5 :: Yum Python New Thread.error When Mysqld Is Running

Mar 13, 2009

I installed mysqld with yum then yum quit working with this error:http://yum.baseurl.org/ticket/70 when mysqld is stopped yum works again. what does a running instance of mysqld have in common with a python yum package manager?

rpm -qa rpm* python* yum* mysql* | sort
mysql-5.0.45-7.el5
mysql-devel-5.0.45-7.el5
mysql-server-5.0.45-7.el5

[Code]...

View 3 Replies View Related

Software :: Running An Interactive (python) Script In Tty1 Before Login?

Apr 22, 2011

I would like to run an interactive python script in tty1 on startup. This script requires user input outputs relevant data.I also need this script to be run as root as it accesses USB devices (and has to detach kernel drivers).It is an infinite-loop script, so I also want to be able to ctrl+alt+F to tty2 to actually login if needed

View 1 Replies View Related

Ubuntu Installation :: 10.10 - Interface Not Running / Showing

Nov 17, 2010

I have ran the installation of Ubuntu (10.10) on my Acer Aspire computer, I chose to wipe the disk and use only linux, however after installing and restarting, I get some sort of terminal/command line and not the actual operating system. I did not install Ubuntu Server and this disk worked on another computer (actually the one I am typing this on right now).

View 1 Replies View Related

Programming :: Running Iperf On Machine From Web Interface

May 22, 2011

I'm not sure if I'm posting in the correct section, so please move it if it isn't.I currently have a bunch of laptops for testing a distributed network - throughput etc., using a bunch of bash scripts that send or listen to multiple addresses and ports, which run iperf. But at the moment I have to run it from each machine, or log in through ssh.To make this easier, I'd like to be able to present a bunch of buttons and selections from a web interface, so I can just put in the hostname of each laptop, and then click on a presented 'send' or 'listen' button to then execute iperf, and be able to kill it early if need by, say, by a 'stop' button.

What is the best way to go about this? Python, JavaScript, Java Servlet?And how would I do it? Just one of the above on Apache or something on each laptop?I just don't which direction to start heading in. Any help would be greatly appreciated.BTW. The network is considered to be not connected to the Internet, so I'm not too concerned about security, but if you've got any suggestion of how to start and stop iperf securely from a web interface on a machine, I'm interested.

View 2 Replies View Related

General :: Running Web Browser On A Specific Network Interface?

Feb 26, 2011

suppose I have multiple interfaces installed on my machine. The question is how to specify which interface to use while starting a web-browser.What I would like to make possible is something like:Code:browser_name interface addressif it is possible in for any web-browser or via scripts please advise me accordingly.

View 7 Replies View Related

Debian Installation :: Start Job Running For LSB - Raise Network Interface

Feb 11, 2016

I have just installed debian-live-8.3.0-i386-lxde on my old hp530 32-bit laptop

Everything went well but every time I start my laptop I get following message which lasts for approx 1m 20s ...

Code: Select allLoading, please wait...
fsck from util-linux 2.25.2
fsck error 2 (No such file or directory) while executing fsck.ext4 for /dev/sda1
fsck exited with status code 8
[  13.941532] systemd-fsck[145]: DEBIAN8: clean,140919/640848 files, 978992/2560942 blocks
[ ***]A start job is running for LSB: Raise network interfaces. (1min 20s / no limit)
with the 3 asterisks above moving back and forth.

... then it boots OK into operating system. so apart from the delay everything is working ok.

View 14 Replies View Related

Networking :: Ethernet Interface Leaves RUNNING State After Some Time

Jul 29, 2011

I am using RHEL6 on a server with 3 interfaces.

eth0 is connecting via a Cisco switch to the outer world and eth1 and eth2 to internal networks.

eth1 and eth2 are working without problems all the time, however I have the following incident with eth0: although it is RUNNING, and after it works for some time (like some hours), it then becomes incapable of sending/receiving traffic. Here are more details, after the interface exits the RUNNING state:

[root@mgt ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr E4:1F:13:6C:87:74
inet addr:9.162.91.26 Bcast:9.162.91.255 Mask:255.255.255.0
inet6 addr: fe80::e61f:13ff:fe6c:8774/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1

[Code]....

I am wondering whether there this is because there is not traffic for some time and so the interface goes to idle. Is there any parameter I can tweak in RHEL6 to force the interface to remain RUNNING even in the absence of traffic (although I would be expecting that some 802.1 packets would be periodically flowing from the switch to the interface)?

View 1 Replies View Related

Red Hat / Fedora :: Installing And Running MySQL ?

Jan 7, 2011

I've successfully installed mysql using yum on the latest fedora; and started it like so:

What do I do from here!

I used the command: whereis mysql

I found out it was in /usr/bin/mysql /usr/lib/mysql /usr/share/mysql ../man/man1/.gz

I attempted to execute it from root.. bin and I get the following error message:

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

View 1 Replies View Related

Software :: How To Get Wifidog Running With MySQL

May 20, 2010

I am looking to get wifidog running on a Centos 5.4 box. I understand wifidog runs with PostgreSQL as its database by default. I have been looking online, and I cannot find how to get wifidog running with MySQL instead of PostgreSQL.Does anyone out there know how to get wifidog running with MySQL and tell me how to do it?

View 2 Replies View Related

Ubuntu :: Carry Out Mysql Commands Directly From The Ubuntu Command Line Interface?

Mar 10, 2011

Is it possible to carry out mysql commands directly from the ubuntu cli rather than open mysql?eg to create a database I would normally type

Code:
user@localhost:~$ mysql -u root -p
then INSIDE the mysql CLI I would type

[code]....

View 3 Replies View Related

Ubuntu :: 10.04 - Make MySQL Running On Startup?

May 3, 2010

I run Ubuntu 10.04. For some reason, MySQL won't start on startup. How do I make it run on startup? I installed it by installing LAMP using tasksel and did everything according to: [URL]. Also, I have another problem: When I try to start/stop/restart mysql in the terminal, the terminal will not give me any prompts after entering the command. E.g., after entering "sudo service mysql start", nothing will happen. Even after waiting for 30min, nothing happens.

View 9 Replies View Related

Ubuntu Installation :: Xampp: Mysql Not Running?

Aug 17, 2011

I am struck with this problem since yesterday, Everything was working fine until i got a sudden error saying[Warning]: PDO::__construct() [pdo.--construct]: [2002] No such file or directory (trying to connect via unix:///opt/lampp/var/mysql/mysql.sock) (Database/class.SWIFT_Database.php:330)Then i went into server and restarted server. it started saying

/opt/lampp/lampp restart
Stopping XAMPP for Linux 1.7.4...
XAMPP: Stopping Apache with SSL...

[code]....

View 2 Replies View Related

Ubuntu :: Web Server Not Working - Running Apache And Mysql

Apr 16, 2010

i have apache and mysql running, i can access my web server by visiting localhost on port 80 but for some reason when it doesnt work when i try using my ISP provided IP address... (it used to work).. i have my router setup with a DMZ on my LAN IP (my computers IP, this is the computer in my home network that serving with apache).. i also cant seem to shut down my mysql server (theres an update ive been trying to get) even when i use sudo...

View 5 Replies View Related

Ubuntu :: Couldn't Remember Mysql Password - Get It Running Again

Feb 11, 2011

I was installing zabbix and had to make some mysql stuff work... couln't remember my mysql password, so figured i'd uninstall mysql and reinstall. so i did:

[code]...

i was admittedly stoned when doing this, but it has uninstall a LOT of other stuff. including xbmc. no problem, i'm an idiot but i'll just reinstall xbmc and the other stuff

[code]...

how i can get this running again or would it just be easier to reinstall.

View 3 Replies View Related

General :: Joomla Does Not See MYSQL Server - Yet Its Installed And Running?

Nov 15, 2009

I have just installed joomla and proceeded to do the web install. Got the interface up and running and its now complaining it does not see the mysql server running. I do in fact have it running. Veryfied it with mysql command on command line and it complained with missing attributes.

I read a thread that it needs php-mysql installed. So went to proceed to install it. Well, I did not have that and went to install it. Verified it. Package mysql-server-5.0.77-3.el5.i386 already installed and latest version

I then did a service mysql reset.

Checked back at the joomla web install interface and still, it says there is no mysql support! What is next? Im running centos OS. Also, I am running LAMP

View 3 Replies View Related

Fedora Servers :: MySQL Queries Running Extraordinarily Slow On 15?

Jun 5, 2011

i'm not sure if this is because i'm having problems with my Raid setup, which mysql is running on, or if it is unrelated, but is anyone else noticing that mysql is VERY slow on Fedora 15?

View 5 Replies View Related

Ubuntu Installation :: Mysql Won't Start After Running Lampp/security

Jan 11, 2010

I have ubuntu 9.10, and installed the latest lampp with default options. Apache/Mysql/Proftpd would start and stop fine. I then did:

...which I got from here...[url] Although I'm pretty sure I was never prompted for the mySQL password. At any rate, now mySQL will not start (Apache and ProFTP are OK). Where can I start debugging this? Where is the conf file for mySQL?

View 1 Replies View Related

Ubuntu Servers :: 'start Mysql' Never Returns And No Mysqld Running

Apr 26, 2010

Since /etc/rc2.d/S19mysql does not exists anymore, and then init.d/mysql uses /sbin/start, I am unable to use mysql server anymore: me@mycomputer~#start mysql [ret] ...... for hours this command never returns so that ^C aborts...

me@mycomputer~#ps axw |grep mysql ( no results, no mysql!!! ) me@mycomputer~#stop mysql [ret] no returns either!!! This upstart [start|stop] thing seems a total failure for mysql!!!

View 9 Replies View Related

General :: Shell Script To Check Whether Mysql Server Is Running Or Not

Apr 27, 2009

from nmap localhost | grep mysql command i will come to know whether mysql server is running or not.my problem is i want to test whether mysql server is running or not in shell script and if it is running i need to tell the user to stop the server to run the shell script.

View 3 Replies View Related

Slackware :: Running Apache / Php / MySQL On Startup And Install PhpMyAdmin?

Dec 29, 2008

After a new install of Slackware 12.2, I carried out the following procedures to get everything working successfully right out of the box. The server is a standalone system, used for testing and educational purposes, so please bear that in mind. NB: Throughout this post when you see a single # at the start of a line it means you are typing the commands as root user. You should not include the #, only the text after it.

### setup Apache with php enabled
Login as root user on your Slackware box and type:
# pico -w /etc/httpd/httpd.conf

[code].....

View 18 Replies View Related

OpenSUSE Network :: ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket '/var/mysql/mysql.sock

Jun 7, 2011

I think this goes here, but I'm not sure. I decided that XAMPP had been troublesome enough. MySQL never worked. So I decided to instal the LAMP stack offered by YaST. I went about installing it thinking that it would all work. But it seems that I was wrong. So I try to start mysql, and here's what I get:

Code:
the-matrix:~ # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) or
Code:
the-matrix:~ # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory

[Code]...

View 6 Replies View Related

General :: Can't Connect To Local MySQL Server Through Socket '/var/lib/mysql/mysql.sock' (2)

Jun 2, 2010

i am using liferay5.2(mysql included in the download pack) on fedora. while liferay is working fine but i cannot connect to mysql.i am getting the error

[
[root@localhost ~]# ln -s /var/lib/mysql/mysql.sock /tmp
[root@localhost ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.

[code]....

i didnt find the mysql.sock file in the location /var/lib/mysql/mysql.sock. i cannot find the portal-ext.properties file also to make intial settings.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved