How to find sugarcrm version number, if I only have a database?

How to find sugarcrm version number, if I only have a database? Current database does not support version we have on our server, and I do not know the version number, what previous host had on their server.  Web browser says now: "Sugar CRM 6.5.24 Files May Only Be Used With A Sugar CRM 6.5.24 Database." , but it doesn't tell which version should I have. Previous host refuse to give any other files or even tell a version number.