Comments (5)
Open the file library/opendb.php
and remove the last line where it says:
$dbSocket->query("SET GLOBAL sql_mode = '';");
Can you please also let me know which version of MySQL you are running?
from daloradius.
You could change the line in library/opendb.php
to:
$dbSocket->query("SET SESSION sql_mode = '';");
If you only change sql_mode
in the actual session, no additional privileges are needed.
from daloradius.
@rrusch awesome, thanks for the input.
Would you like to open a Pull-Request with the change or should I go ahead and commit it? (I'd be happy if you could make the contribution on your own)
from daloradius.
For me, when I faced this issue, all I did was change from the radius user I created for the mysql database to simply root
so I ended up with this:
$configValues['CONFIG_DB_USER'] = 'root';
Or you could assign Super privileges to the Radius database user you created.
from daloradius.
Thanks guys! Fixed in a601ad7
@seanmavley @frederikkunze @rrusch
from daloradius.
Related Issues (20)
- version 1.3
- Multiple 'profiles'
- Security Vulnerabilities Identified HOT 3
- Uncaught ArgumentCountError: 4 arguments are required, 3 given HOT 1
- Multiples issues on main HOT 1
- Default username and password HOT 1
- Permission issues - the file /etc/freeradius/proxy.conf isn't writable, I can't save realms information to the file HOT 1
- Duplicate sql insert value HOT 3
- Mikrotik Muliple PPPOE Server and Multi IP Pool connection error
- I've issue when import mariadb-daloradius.sql HOT 2
- Wrong instruction HOT 1
- Duplicate entry '252' for key 'PRIMARY' HOT 4
- VPN session details not working from daloRadius front interface. HOT 6
- Problems with Plan+Profile+Pre-paid 30 days / 30 minutes
- Disconnect User
- Error missing arguments while creating a plans.
- how can I add new currency ? HOT 1
- May I ask if the user portal application account cannot log in
- daloradius docker not accepting connections HOT 2
- Missing validation.php file in library folder HOT 1
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 daloradius.