Closed ardentcrest closed 7 years ago
Show me your config please.
backend: type: mysql hostname: 'localhost' port: '3306' username: 'root' password: '' databaseName: '' prefix: 'economy_' currency: name: singular: dollar plural: dollars format: '0.00' grouping: 3 grouping-separator: ',' chat: prefix: '&b[&9Economy&b]&r ' economy: start-balance: 0.0 notify-start-balance: true server-account: $SERVER$ debug: false
Try again, but on a pastebin service. That config is nowhere near properly indented.
I may be wrong here, but this looks like the config file was never updated to have the actual localhost name, doesn't have access to the database (permissions) or the root account does not exist. When I installed MySQL, for another plugin, I did not have root as the super user and needed to provide the localhost, different port # (since I never use defaults for security reasons) to use and allow it to be accessed via router settings. So my first question would be, did you install MySQL using the same defaults on the same server?
all my other plugins work with the the database
thanks for the confirmation - you'd be surprised how many people assume MySQL gets installed automatically because of the settings. :-)
That config looks valid to me... And matches up reasonably enough with the example. Try recreating it from the example, perhaps.
Hummm I still get errors. can you please post a working config file so I can see what it should look like.
can you give me an example config file to use mysql, I cant get mine to work.