Giter VIP home page Giter VIP logo

mysql-udf-http's People

Watchers

 avatar  avatar

mysql-udf-http's Issues

Debian compiling adjustment

The general description doesn't work on debian  /ubuntu system. here is some 
adjustment:

1, depandencies:
mysql-server
libmysqlclient-dev (mysql_config is in this package)

make sure you are root and run 
apt-get install mysql-server
apt-get install libmysqlclient-dev


then go with following step author specified

echo "/var/lib/mysql" > /etc/ld.so.conf.d/mysql.conf
/sbin/ldconfig
wget http://mysql-udf-http.googlecode.com/files/mysql-udf-http-1.0.tar.gz
tar zxvf mysql-udf-http-1.0.tar.gz
cd mysql-udf-http-1.0/
./configure --prefix=/var/lib/mysql --with-mysql=/usr/bin/mysql_config
make && make install

Original issue reported on code.google.com by [email protected] on 16 Dec 2011 at 10:24

Does not compile on SLES 10 or 11

Have tested this on Debian and Redhat and it compiles and installs with no 
problems. However on Suse Linux Enterprise Server 10 or 11 (running SP1), it 
does not compile.

Configure runs fine but Make fails with the following output:

cd . && /bin/sh /root/Downloads/mysql-udf-http-1.0/config/missing --run 
aclocal-1.10
 cd . && /bin/sh /root/Downloads/mysql-udf-http-1.0/config/missing --run automake-1.10 --gnu
src/Makefile.am:5: bad characters in variable name `mysql-udf-http_la_SOURCES'
src/Makefile.am:6: bad characters in variable name `mysql-udf-http_la_LDFLAGS'
src/Makefile.am:7: bad characters in variable name `mysql-udf-http_la_LIBADD'
src/Makefile.am:4: `mysql-udf-http.la' is not a standard libtool library name
src/Makefile.am:4: did you mean `libmysql-udf-http.la'?
src/Makefile.am:5: variable `mysql-udf-http_la_SOURCES' is defined but no 
program or
src/Makefile.am:5: library has `mysql-udf-http_la' as canonic name (possible 
typo)
src/Makefile.am:7: variable `mysql-udf-http_la_LIBADD' is defined but no 
program or
src/Makefile.am:7: library has `mysql-udf-http_la' as canonic name (possible 
typo)
src/Makefile.am:6: variable `mysql-udf-http_la_LDFLAGS' is defined but no 
program or
src/Makefile.am:6: library has `mysql-udf-http_la' as canonic name (possible 
typo)
Makefile.am: required file `./INSTALL' not found
Makefile.am:   `automake --add-missing' can install `INSTALL'
Makefile.am: required file `./NEWS' not found
Makefile.am: required file `./AUTHORS' not found
Makefile.am: required file `./ChangeLog' not found
Makefile.am: required file `./COPYING' not found
Makefile.am:   `automake --add-missing' can install `COPYING'
make: *** [Makefile.in] Error 1

I have not tested OpenSUSE or SLES 12

Original issue reported on code.google.com by [email protected] on 15 Mar 2013 at 2:50

Mysql Crash

What steps will reproduce the problem?
1. i use http_put to send a json_object in after insert trigger
2. if it cannot reach ip mysql crash with signal 11
3.

What is the expected output? What do you see instead?
Mysql crash so i cannot see anything

What version of the product are you using? On what operating system?
Last version 1.0 http and json

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 Aug 2014 at 2:15

Need this compiled as DLL for windows

I am trying to compile this for windows as i have mysql installed on windows.
I have added the .c and .h files from the download to my project , i am using 
dev c++ for this.

I have also included mysql and curl include files but the project doesnt 
compile properly.

Can you guys compile a windows based dll version for the same ? It will be of 
great help.

Thanks !!

Original issue reported on code.google.com by [email protected] on 4 Dec 2014 at 11:01

segmentation fault if host unknown

When specifying an unknown host, a segmentation fault occurs:
mysql> select http_get('http://example.invalid/');
ERROR 2013 (HY000): Lost connection to MySQL server during query
mysql> 

The mysql error log says "mysqld got signal 11 ;"


After some debugging I found that in that case result->res ist still NULL after 
curl_easy_perform. The error is caused by 
strcopy(res->result, "")


The attached mysql-udf-http.c resolves the issue.

Original issue reported on code.google.com by [email protected] on 22 Aug 2013 at 3:00

Attachments:

..

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 31 Jul 2014 at 7:45

Error handling documentation missing (mysql disconnect on rest-service down)

What steps will reproduce the problem?
1. Calling any of the http_* functions on a closed server port


What is the expected output? What do you see instead?

  Something that a continue handler could be set for. 
  The mysql connection gets aborted.

What version of the product are you using? On what operating system?
  mysql-udf-http-1.0
  Ubuntu 12.04
  mysql  Ver 14.14 Distrib 5.5.34, for debian-linux-gnu (x86_64) 
    using readline 6.2

Please provide any additional information below.

  mysql  Ver 14.14 Distrib 5.5.34, for debian-linux-gnu (x86_64) 
    using readline 6.2

  Maybe there is a continue handler line that could fix this, but if 
  there is its not documented nor aparent from the code.

Original issue reported on code.google.com by [email protected] on 13 Nov 2013 at 11:50

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.