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
0
Question by AndreasX12 · Aug 23, 2014 at 09:16 AM · mobileserverdatabase

Acces database from Unity

Hi,

I am making a mobile app with Unity. What I'm trying to do is to create a server-side database, which I already has done with MySQL and PhpMyAdmin. I have then created a table, which I need to acces from Unity (Android, iOS).

How is this possible?

Thank you in advance.

Andreas.

Comment
Add comment · Show 3
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 DajBuzi · Aug 23, 2014 at 09:23 AM 3
Share

You should be able to connect to $$anonymous$$ysql database with C# using $$anonymous$$ySql.Data.$$anonymous$$ySqlClient Here's an example: http://www.codeproject.com/Articles/43438/Connect-C-to-$$anonymous$$ySQL

Or you could just create a simple php script and call them through WWW class.

avatar image AndreasX12 · Aug 24, 2014 at 05:40 PM 0
Share

Thank you.

I have a table with 50,000 fields with 3 values each in Php$$anonymous$$yAd$$anonymous$$ on my SQL database. These values should be loaded into unity to show them on map.

I have no experience in databases, so is there a tutorial anywhere? Or where do I start?

Best regards,

Andreas.

avatar image Slobdell · Aug 25, 2014 at 05:03 AM 0
Share

50,000 fields?! First off if you are using Unity free version you won't be able to do any DB work. Secondly, I would advice not to do any DB work directly from your application, I think good practice would be to have a web service set up that accesses the DB and sends back responses.

0 Replies

· Add your reply
  • Sort: 

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

24 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Best way to connect to database for my mobile game? 3 Answers

Mobile Database for Unity 0 Answers

Hosted Database for Mobile Game 0 Answers

[Closed] www.data help 0 Answers

Develope Cloud & Vuforia application 1 Answer


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