How can I solve error -5,147 ?

Would anyone help to solve error -5,147? I have installed Matlab 2015b with full package but when I used database command it results in error -5,147. I have installed the jdbc driver in the javapath, but nothing worked
Error using database
License checkout failed.
License Manager Error -5
Cannot find a license for Database_Toolbox.
Troubleshoot this issue by visiting:
http://www.mathworks.com/support/lme/R2015b/5
Diagnostic Information:
Feature: Database_Toolbox
License path:
C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB\R2015b_licenses;C:\Program
Files\MATLAB\R2015b\licenses\license.dat;C:\Program
Files\MATLAB\R2015b\licenses\network.lic
Licensing error: -5,147.
Error in sl_weather (line 6)
connection = database ('sl_demo_site', 'user', 'password', 'com.mysql.jdbc.Driver',
'jdbc:mysql://140.xxx.xx.x:10108/site');

 Accepted Answer

Walter Roberson
Walter Roberson on 20 Sep 2017
Edited: Walter Roberson on 20 Sep 2017

2 Comments

happy aprillia
happy aprillia on 20 Sep 2017
Edited: happy aprillia on 20 Sep 2017
I have checked in the installation that Database box is already ticked, the license I used also already the license.lic
Does it mean that I need to renew the license and update the current license?
can we renew the license once it is already installed?
Thanks, I really appreciated your suggestions
I would suggest you contact Mathworks for free license assistance.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!