-
Notifications
You must be signed in to change notification settings - Fork 130
Configure Elfinder Bundle to connect with a MySQL database #300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@nouridev can you post full configration of elfinder bundle, and what version of symfony and bundle do you use. |
I have the same error, i'm using Symfony 3.4.4 and FMElfinderBundle 7.0.1, my config:
And I had to overwrite the class because it didn't respect the abstract class ElFinderVolumeDriver. Where can I find a doc for MySQLDriver ? Differents parts of the class i had to change: I needed to this function:
I needed to had $jpgQuality option:
I needed to had $hash option:
Tanks a lot ! |
@CoreAptics, @nouridev hi default:
locale: "%locale%"
editor: form # other choices are tinymce or simple
include_assets: true
relative_path: true
connector:
roots: # at least one root must be defined
uploads:
show_hidden: false
driver: MySQL
mysql_settings:
user: 'root'
password: 'root'
db: 'elfinder'
host: 'localhost'
path: 1 |
Hi, same error, I think it's an Elfinder's issue, because I deployed Elfinder demo with all requirements and I have the same error. I'll post another issue on Studio42's repo. Thanks for your availability, EDIT: I fixed the problem by creating another user to my Database, the password is required to use the MySQLDriver. I use WAMP and the default password is null. |
Thanks for sharing your solution 👍 |
I get problem to connect elfinder with my MySQL database, I changed the driver : 'LocalFileSystem' to` driver : 'MySQL', and i configured the configuration of my database in Driver\ElFinderVolumeMySQL, but it steel not working, i get this error "Invalid backend configuration. Readable volumes not available."
Can you help me please to solve this problem ???
The text was updated successfully, but these errors were encountered: