Comments (6)
You can try open /var/log/mysqld.log
This is my output when execute 'pwd'
mysql> select sys_exec('pwd');
+-----------------+
| sys_exec('pwd') |
+-----------------+
| 0 |
+-----------------+
1 row in set (0.01 sec)
and this from /var/log/mysqld.log
[root@db ~]# tail /var/log/mysqld.log
s.parentNode.insertBefore(sc, s);
})();
_comscore.push({ c1: "2", c2: "17440561" });
_qevents.push({ qacct: "p-c1rF4kxgLUzNc" });
</script>
</body>
</html>Tue Aug 4 12:24:02 WIB 2015
Tue Aug 4 12:24:04 WIB 2015
/var/lib/mysql
/var/lib/mysql
and you can try my Makefile setting if you install it from install.sh
gcc -m64 -fPIC -Wall -I/usr/include/mysql -I. -shared lib_mysqludf_sys.c -o /usr/lib64/mysql/plugin/lib_mysqludf_sys.so
from lib_mysqludf_sys.
Can you give me the way to install mysqludf
I'm using CentOS 7
from lib_mysqludf_sys.
Hello vanhiepdam,
Just compile with the provided command (gcc) and symlink the .so file in the MySQL's plugins folder. Then install it via the SQL commands
from lib_mysqludf_sys.
http://www.tldp.org/LDP/abs/html/exitcodes.html
from lib_mysqludf_sys.
sys_eval is returning NULL because the function is only returning int, so drop it and the create it again with the following syntax:
CREATE FUNCTION sys_eval RETURNS string SONAME 'lib_mysqludf_sys.so';
from lib_mysqludf_sys.
sys_eval is returning NULL because the function is only returning int, so drop it and the create it again with the following syntax:
CREATE FUNCTION sys_eval RETURNS string SONAME 'lib_mysqludf_sys.so';
@yamelyamel16 you save me! Thanks a lot!
from lib_mysqludf_sys.
Related Issues (20)
- sql file run in phpmyadmin run time error
- Cant't import to phpmyadmin HOT 1
- No paths allowed for shared library (At installation) HOT 2
- 64bits recompilation fails. Error with header files HOT 5
- how to install on mac HOT 1
- need an update for MariaDB 10 HOT 5
- Can't install on Ubuntu 16.04.5 LTS "Unable to locate package libmysqlclient15-dev" HOT 2
- Where should I place this library in my Computer ? can anyone give me a path for that ?
- Out of memory when creating a procedure
- Provide install instruction for mysql Docker container HOT 1
- Need root to install HOT 1
- ERROR 1125 (HY000) at line 29: Function 'lib_mysqludf_sys_info' already exists HOT 2
- ERROR 1126 (HY000) at line 29: Can't open shared library 'lib_mysqludf_sys.so' (errno: 11 /usr/local/mysql/lib/plugin/lib_mysqludf_sys.so: wrong ELF class: ELFCLASS32) HOT 3
- fatal error: my_atomic.h: No such file or directory HOT 2
- Seems impossible to pass a variable from trigger to cmd
- not compatible with mysql 8.0 HOT 1
- Can't find symbol 'lib_mysqludf_sys_info' in library
- mysql crashed with mariadb 10.3 HOT 1
- sys_eval() not freeing memory and can cause crashes
- Not possible to compile on Ubuntu, code doesn't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lib_mysqludf_sys.