Quantcast
Channel: Syed Jahanzaib – Personal Blog to Share Knowledge !
Viewing all articles
Browse latest Browse all 409

DMASOFTLAB Radius Manager: Table ‘radius.rm_wlan’ doesn’t exist

$
0
0

mysql

Short reference:

While accessing RM users section , I received “Table ‘radius.rm_wlan’ doesn’t exist” error.
As showed in the image below . . .

rm_wlan errorThis is how I fixed it.

On your RM box, create a file in which we will add table information.

touch rm_wlan.sql
nano rm_wlan.sql

and paste following text.

--
-- Table structure for table `rm_wlan`
--

DROP TABLE IF EXISTS `rm_wlan`;
CREATE TABLE `rm_wlan` (
`maccpe` varchar(17) default NULL,
`signal` smallint(6) default NULL,
`ccq` smallint(6) default NULL,
`snr` smallint(6) default NULL,
`apip` varchar(15) default NULL,
`timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
KEY `maccpe` (`maccpe`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `rm_wlan`
--

SAVE and exit.

Now use the following command to import table into mysql database ‘radius’.

mysql -h localhost -u root -pYOURPASS radius < rm_wlan.sql

FYI,

The table code have been extracted from radius manager installation archive.  Example:
/radiusmanager-4.x.x/sql/radius.sql

You can import any missing table from above file and import it in mysql.

Regard’s
Syed Jahanzaib


Filed under: Radius Manager

Viewing all articles
Browse latest Browse all 409

Trending Articles