FPtje / DarkRP

DarkRP, a non-serious roleplay gamemode for Garry's Mod.
https://darkrp.miraheze.org
MIT License
466 stars 710 forks source link

database connect error? #89

Closed Mikesdav closed 12 years ago

Mikesdav commented 12 years ago

https://dl.dropbox.com/u/5699575/db%20connect.PNG

Jarrrk commented 12 years ago

Hi Mike,

I also aim to have a SQL database with DarkRP but I'm sure that isn't clearly explained at the moment. I can't really find anything about the actual setup besides the _MYSQL.lua file which doesn't really help either nor give any information about the actual table structure or a table import.

For now @FPtje would have to explain if this is a still working feature or not.

Thanks ~Jarrrk

Mikesdav commented 12 years ago

It was working its just not connecting now, it creates all the tables and everything for you so you shouldn't need to do anything extra.

My database has over 6,000 player's money and information saved and all the blocked models for fpp and everything.

I imagine this has to do with a change made to the mysql module and can easily be fixed.

edit: to fix confusion

FPtje commented 12 years ago

The error doesn't appear anymore? Because I think the error is caused by the module not being installed correctly.

Mikesdav commented 12 years ago

No that was a reply to RazorFlint it worked before is what I meant. I dont know what is wrong with it though it just doesn't work at all for darkrp or evolve.

I have the modules installed correctly so that can't be the problem unless garry radically changed the way you have to install it in the latest update.

Cherry commented 12 years ago

:connect erroring was caused by an older version of MySQLOO. Follow http://www.facepunch.com/showthread.php?t=1220537

Mikesdav commented 12 years ago

http://www.facepunch.com/showthread.php?t=1220537&p=38287379&viewfull=1#post38287379

Doesn't work for me at all.

FPtje commented 12 years ago

The error was caused by Drakehawke. Get the latest version from his thread and it should work.

I have no MySQL server to test DarkRP with.