Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by elie · Jan 11, 2011 at 11:09 AM · linuxloginmysql

How to connect unity to a database?

I work for a web design and development company in Lebanon, I'm a 21 years old student, never asked for money, I wanna have experience...

There's a client who asked us to create a game where people can sign up and log in and see the score, the client doesn't care what the game is, the boss gave me the job because I like it. I'm free to create any game, 3d or 2d, the client wants to use it as a demo to see if people are going to play it.

My boss owns many servers in usa, some of them are used by godaddy, amazon and 1 is used by hostgator. So I think he wants to host the game 1 of his servers. He has linux servers and apache installed of course, he has ms servers but doesn't use them unless the clients ask.

He asked me to create a php game connected to mysql, i said this is not an option unless the client wants one of the silliest games.

So what do I have left? flash is too heavy, it takes a long time to load, and the connection in lebanon is too slow for most of the users, i mean too slow, a 8m video on youtube will take about 10m to load, that slow

So flash is not an option for now. what i have left is java, maybe java monkey, or unity 3d

therefore I'm asking you this before i work with java, can i connect it to mysql and make a sign up log in page?

and can i deploy the game on any server? I already know how to deploy it on dimerocker.com, never tried any other server, so does it work on any server or does the server have to have some special software installed?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by runevision · Jan 11, 2011 at 03:10 PM

Yes, you can connect Unity with a MySQL database.

See these questions and answers for more details:

Is it possible to send and recieve data from/to a MySql server?

How can I send and receive data to and from a URL, i.e. server side scripts, web services, etc?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by davedev · Jan 11, 2011 at 02:41 PM

I think you make some false assumptions. Flash games can be made quite small, smaller than Java or Unity 3D if the user already has the Flash plugin downloaded. Some Flash files can be quite big because of their content, but that's true too for Java and Unity 3D. Unity will provide extra complexity that you might not need to do a simple game and make some things harder than Flash or Java.

Here's some more about Flash vs. Java: gamedev.nt

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image runevision ♦♦ · Jan 11, 2011 at 03:10 PM 0
Share

This is not answering the questions, which is "How to connect unity to a database?".

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

help with the WWW Class 1 Answer

How Do i check for Duplicate username in database 4 Answers

Unity Null Reference Error 1 Answer

Login authentication on Unity 5 with php using xampp, and mysqli 0 Answers

MYSQL for webplayer 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges