Hot Summer Deals are Here!
Celebrate with up to 99% off on 17,100 resources
03
Days
10
Hours
31
Mins
55
Secs

Need help with MySQL DataBase

Status
This thread has been locked.

King Archie

Java Software Development
Banned
Feedback score
6
Posts
168
Reactions
45
Resources
0
For my school project I need a MySQL Database.

It needs to hold all of the clients user:pass, and also somehow it needs to hold all of the client objects.

Code:
public class Client implements Serializable {

    private String name;

    private UUID uuid;

    private List<Contact> contacts;

    private Map<Contact, Chat> chats;
}

That is the client object.

How the fuck do I do this?
 
Banned forever. Reason: Ban Evading (Archie, https://builtbybit.com/members/archie.15314/)
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Christopher

Floating around
Supreme
Feedback score
8
Posts
2,048
Reactions
1,120
Resources
0
For my school project I need a MySQL Database.

It needs to hold all of the clients user:pass, and also somehow it needs to hold all of the client objects.

Code:
public class Client implements Serializable {

    private String name;

    private UUID uuid;

    private List<Contact> contacts;

    private Map<Contact, Chat> chats;
}

That is the client object.

How the fuck do I do this?
You can not use JS and MySQL together, you need PHP. JS is a client-side language and your MySQL database is going to be running on a server, so PHP is needed.
 

King Archie

Java Software Development
Banned
Feedback score
6
Posts
168
Reactions
45
Resources
0
You can not use JS and MySQL together, you need PHP. JS is a client-side language and your MySQL database is going to be running on a server, so PHP is needed.
Java not JS.
 
Banned forever. Reason: Ban Evading (Archie, https://builtbybit.com/members/archie.15314/)

King Archie

Java Software Development
Banned
Feedback score
6
Posts
168
Reactions
45
Resources
0
how many 'objects' do you need to store
A client object. But now I may not have to, since I might just store date of creation, client id, client name, and client password (hashed).
 
Banned forever. Reason: Ban Evading (Archie, https://builtbybit.com/members/archie.15314/)
Status
This thread has been locked.
Top