Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
# -u ual_user      - you can use different user name
# -h itmmysql1     - this is Gateway based host, but you can have something else here
#                    it depends on your target installation
# itmcatalog       - database name - you can decide on something else
#                    but, by default, name of catalog db is 'itmcatalog'
#
# Note that result of the command below might be different for you, depending
# on whether you use MySQL or MariDB. Please, make sure that client library 
# for mysql will have the same version as your server.
#
# Note that your client may be executed on a completely different machine
# than server
#
 
> mysql -u ual_user -h itmmysql1 itmcatalog
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 25031
Server version: 5.6.36-log MySQL Community Server (GPL)
Copyright (c) 2000, 2017, 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>
 

This documentation doesn't specify details on how to install and configure MySQL/MariaDB. There is only a requirement that you need:

Warning

one account with root privileges - you will have to create db schema

one account with normal user privileges - this user must have access to all tables inside DB

Installation of CLI based components

Installation of gSOAP 2.7

In order to install CLI components you need to install and configure gSOAP 2.7 library. Please follow instructions here, and make sure gSOAP library is available in your system:                          gsoap_2.7.13.zip

It's a good idea to provide separate module for gSOAP library that sets some basic locations

Code Block
module-whatis    gsoap <http://http://gsoap2.sourceforge.net/>
setenv           GSOAP put_the_location_of_gsoap_here               # e.g. /some_dir/libs/gsoap/2.7
prepend-path     PATH put_location_of_bin_dir_here                  # e.g. /some_dir/libs/gsoap/2.7/bin
prepend-path     PKG_CONFIG_PATH put_location_of_pkg_config_here    # e.g. /some_dir/libs/gsoap/2.7/lib/pkgconfig

It's good to create gsoap.pc file - it can be used later, during compilation of the codes

Code Block
prefix=/some_dir/libs/gsoap/2.7
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: GSoap
Description: SOAP C Web Services
Version: 2.7


Libs: -L${libdir} -lgsoap
Cflags: -DWITH_DOM -I${includedir}