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 missypooh · Mar 06, 2012 at 04:03 PM · databasemysql

Setup mySQL, insert value to mySQL, retrieve data from mySQL

Hello everyone, I understand that there are some documentation/tutorials/discussion around the forum talking about sql lite, mySQL+php. But somehow i feel that it is not really clear and somehow incomplete in some sense. Pardon me if i am wrong. So basically for this question that i am posting (i am confused and stucked on how to setup mySQL and used it), i would appreciate that everyone could help out and provide the solution/step by step/links so that people who have the intention to set up database(mySQL) will have clear ideas/view on how to start it.

  1. How to setup mySQL? Like we started off by connecting to the database (mySQL), after that we start to insert value to database?? if possible, provide code snippet.

  2. Validation part for login and store the values (Chinese words, how can i do it?).

  3. Retrieve data from database and display to the players.

Actually i have already set up my database and it's working fine. Am using the sql lite, but there are some issues, webplayer doesn't communicate with the sql lite (maybe some security reasons)that wise i have to change to use mySQL with php/WWW form (after some research). What i am trying to do is to store player information like username, password,score,chinese word they formed and also need to retrieve data to display for monitoring purposes.

Thank you so much for spending time to read it.

P.S. I just want to mention that i have been searching around the forum/everywhere, bits and pieces from here and there on how to setup mySQL + php, retrieving data.. But somehow it confused me even more >< That wise i have decided to ask a question and hope that those who know how to do could answer it.I believe this will definitely help others. :)

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 SirGive · Mar 06, 2012 at 04:12 PM 0
Share

are you using unityscript or c#?

avatar image missypooh · Mar 06, 2012 at 06:34 PM 0
Share

more comfortable with unityscript.. but i am with C#. am learning c# now. :)

avatar image missypooh · Mar 07, 2012 at 03:44 PM 0
Share

Hi people, please help out.. :)

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Finish setup php, how to communicate with mySQL and unity 2 Answers

c# database connection on debian server 0 Answers

mySQL : Values not inserting to my database 0 Answers

How to use php to update mySQL 1 Answer

The name 'Joystick' does not denote a valid type ('not found') 2 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