sql accounting database sample

Most Relevant Content

  • MikroTik Radius Configuration with FreeRADIUS and MySQL

    FreeRADIUS is a modular RADIUS suite. A lot of modules such as Perl, python, MySQL etc. can be integrated with freeRADIUS to enrich freeRADIUS features. MySQL is one of the best user and client sources in freeRADIUS server. One of the important advantages of MySQL with freeRADIUS server is that MySQL can easily be controlled with a lot of programming languages including PHP. So, freeRADIUS users and their authentication, authorization and accounting can easily be controlled graphically using MySQL database and PHP language. In my previous article, I discussed how to install and configure freeRADIUS on CentOS 7 Linux distribution and how to configure MikroTik Radius to use freeRADIUS as a MikroTik RADIUS server. In this article, I will discuss how to configure freeRADIUS MySQL (freeradius-mysql package) module with MariaDB database. FreeRADIUS with MySQL (MariaDB) Database To work with MySQL database, freeRADIUS provides freeradius-mysql package that contains necessary configuration file and SQL queries. So, we have to install freeradius-mysql package with our freeradius server package. To check whether freeradius-mysql package is installed or not, login to your CentOS server with root user and issue the following command from your command prompt. [root@freeradius ~]# rpm -qa | grep freeradius   freeradius-utils-3.0.13-9.el7_5.x86_64 [...]

    READ MORE »

  • You May Also Like

  • »

    MikroTik Router First Time Startup and Setup using WebFig |   April 17, 2018

    I guess, you have purchased a new MikroTik Router or installed a new MikroTik RouterOS on PC and you are searching How to Start MikroTik Router First Time and How to Complete Basic RouterOS Configuration using WebFig (Web Interface) for running a basic network. If these are your concern, don’t worry, in this article I will show how to startup your MikroTik Router first time and complete RouterOS basic configuration using WebFig web interface so easily. There are three methods [...]

    READ MORE »

  • »

    MikroTik Hotspot Configuration with ECMP Load Balancing |   September 4, 2021

    MikroTik Hotspot is one of the most popular services in MikroTik RouterOS and day be day the demand of Hotspot service is increasing. MikroTik Hotspot can be used in any Airport, Hotel, Restaurant, Campus, Camp, Office or any ISP network. It is also possible to establish a WiFi Broadband Network with the MikroTik Hotspot service. How to configure MikroTik Hotspot was discussed in one of my previous articles. Although MikroTik Hotspot configuration is not so difficult but sometimes we face [...]

    READ MORE »

  • »

    How to Get Free SSL Certificate from ZeroSSL |   June 13, 2020

    SSL/TLS certificate is an essential part in today internet communication. Online communication cannot imagine without SSL/TLS certificate. SSL/TLS certificate makes online communication secure by encrypting data transmitted over public internet. So, most of the applications (Web, Email and VPN services) those transmit data over public internet use SSL/TLS certificate to secure communication. SSL/TLS certificate requires to be signed by Certificate Authority (CA). It is possible to create self-signed certificate with SSL certificate creation tools such as OpenSSL. Some router venders [...]

    READ MORE »

  • »

    How to Create Gmail Account Successfully |   August 17, 2015

    Email is the heart of any business communication today. Not only enterprise companies but also our personal life’s activities are mostly depended on email. So, every person should have an email account today. There are many online companies (such as Gmail, Yahoo and Hotmail) who are providing free email services for any online users. Among these online companies, Gmail is the most popular free email service by Google with 15 GB free storage facility. Gmail has huge features to maintain [...]

    READ MORE »

  • »

    MikroTik VRRP Configuration with Load Sharing |   November 19, 2018

    MikroTik VRRP (Virtual Router Redundancy Protocol) ensures high availability internet network. If any organization requires uninterrupted internet connection, MikroTik VRRP implementation will be a vital solution for them. MikroTik VRRP creates a virtual router accumulating two or more physical routers and ensures uninterrupted internet connection keeping activate one physical router always. That means, if any physical router fails to operate due to any hardware failure, MikroTik VRRP uses another backup router for internet gateway until the running router comes back [...]

    READ MORE »

  • »

    MikroTik RouterOS User Authentication via RADIUS Server |   November 19, 2017

    MikroTik RouterOS has a strong local user database that is enough to manage a single MikroTik RouterOS user. But if your network has more than one MikroTik Routers, it is always better to use a RADIUS server to manage RouterOS user centrally. MikroTik User Manager RADIUS Server is a centralized user authentication and accounting application that gives the ISP Company or network administrator ability to manage not only RouterOS users but also PPP, Hotspot, DHCP and Wireless users. How to [...]

    READ MORE »

  • »

    MikroTik Site to Site VPN Configuration with IPsec |   March 8, 2018

    VPN (Virtual Private Network) is a technology that provides a secure and encrypted tunnel across a public network. A private network user can send and receive data to any remote private network using this VPN Tunnel as if his/her network device was directly connected to that private network. Site to Site VPN technique establishes a secure tunnel between two routers across public network and local networks of these routers can send and receive data through this VPN tunnel. MikroTik RouterOS [...]

    READ MORE »

  • »

    MikroTik Site to Site GRE Tunnel Configuration with IPsec |   March 26, 2018

    VPN (Virtual Private Network) is a technology that provides a secure tunnel across a public network. A private network user can send and receive data to any remote private network using VPN Tunnel as if his/her network device was directly connected to that private network. MikroTik provides GRE (Generic Routing Encapsulation) tunnel that is used to create a site to site VPN tunnel. GRE tunneling protocol which can encapsulate a wide variety of protocols creating a virtual point-to-point link was [...]

    READ MORE »

  • »

    MikroTik RouterOS Device Mode: Home, Basic, and Advanced – and Their Impact on Hotspot Setup |   November 4, 2025

    MikroTik RouterOS offers flexible configuration options for everything from home routers to ISP-grade hotspots. When setting up your MikroTik device, you’ll see a Device Mode option in Quick Set — allowing you to choose between Home, Basic, or Advanced modes. These modes define how much control you have over the router’s features and directly affect your ability to create and manage a Hotspot network. In this guide, we’ll explain each mode, show you how to check and change device mode [...]

    READ MORE »