Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,946
» Latest member: blackopsdlc
» Forum threads: 21,996
» Forum posts: 22,963

Full Statistics

Online Users
There are currently 1291 online users.
» 0 Member(s) | 1286 Guest(s)
Applebot, Baidu, Bing, Facebook, Google

Latest Threads
[Steam Release] Cowbots a...
Forum: New Game Releases
Last Post: xSicKxBot

» Replies: 0
» Views: 10
[Dev News] September Free...
Forum: Game Development
Last Post: xSicKxBot

» Replies: 0
» Views: 10
Marvel Rivals Venom guide...
Forum: PC Discussion
Last Post: xSicKxBot

» Replies: 0
» Views: 14
[WoW Retail News] Midnigh...
Forum: World of Warcraft
Last Post: xSicKxBot

» Replies: 0
» Views: 16
[Steam Release] Kodon
Forum: New Game Releases
Last Post: xSicKxBot

» Replies: 0
» Views: 18
[WoW Retail News] Downloa...
Forum: World of Warcraft
Last Post: xSicKxBot

» Replies: 0
» Views: 18
[PS.Blog] (For Southeast ...
Forum: Sony Discussion
Last Post: xSicKxBot

» Replies: 0
» Views: 15
[Steam Release] RAILGRADE...
Forum: New Game Releases
Last Post: xSicKxBot

» Replies: 0
» Views: 22
Fortnite Winterfest 2024 ...
Forum: PC Discussion
Last Post: xSicKxBot

» Replies: 0
» Views: 20
[WoW Retail News] World o...
Forum: World of Warcraft
Last Post: xSicKxBot

» Replies: 0
» Views: 21

 
  [Tut] phpMyAdmin – How to Create a Database?
Posted by: xSicKxBot - 11-24-2022, 10:09 AM - Forum: PHP Development - No Replies

phpMyAdmin – How to Create a Database?

by Vincy. Last modified on November 22nd, 2022.

PHPMyAdmin is one of the widely used database clients for PHP MySQL developers. It provides a simple user interface that can be easily adapted by beginners.

We can blindly say that PHPMyAdmin as the de-facto database client used by PHP developers for MySQL / MariaDB. It is hugely popular and that is because of its simplicity and ease of use.

It allows many database operations. Example,

  1. Creating databases and the corresponding tables.
  2. Adding and managing data.
  3. Altering the existing structure and attributes defined.
  4. Import, and export operations.

In this article, we will see how to create a MySQL database using PHPMyAdmin.

How to create a database?


First login to the PHPMyAdmin client to go to the database control panel.

phpmyadmin login

After login, it redirects to the PHPMyAdmin control panel which allows doing the following.

  1. To manage and manipulate MySQL database assets.
  2. To perform CRUD or other database-related operations.

phpmyadmin create database

If you want to see code to perform the MySQL database CRUD operations from a PHP application, the linked article has the source,

Ways to create a database using PHPMyAdmin


There are 4 ways to create a new MySQL database using the PHPMyAdmin client interface.

  1. Via the left panel navigation.
  2. Via the header tab control navigation.
  3. By executing a CREATE statement via the SQL tab.
  4. By importing a CREATE statement SQL script via the Import tab.

1. Create database via left panel


In the PHPMyAdmin left panel, it contains a New link. It redirects to the page to create a new database.

2. Create database via header tab


The PHPMyAdmin UI shows tabs like Database, Import, Export and more. The Database tab redirects to show a list of existing databases with an option to create a new one.

Both of these navigation controls will display the UI as shown in the figure.

database create form

The database create-form shows two fields.

  1. To type the name of the database to be created.
  2. To choose a collation that is encoding type.

In the above screenshot, the utf8_unicode_ci collation is selected.

The other two methods are for the one who has the SQL script for creating a new MySQL database.

Sometimes the database SQL will be provided. In that case, it is not required to use the interface to input the database name and the collation.

3. Create database via SQL tab, by running a CREATE SQL query


Choose the SQL tab from the PHPMyAdmin header. It will show a textarea to paste the CREATE database query.

Then, execute the entered query to see the created database among the existing list.

phpmyadmin sql tab

4. Create database via Import tab, by uploading a SQL script


If you have the database CREATE statement Choose the Import tab from the PHPMyAdmin header. Then browse the SQL script that contains the CREATE statement.

Then click the “Go” button to process the import. It will result in displaying a new database imported.

phpmyadmin import database

We have seen PHP code for importing Excel data into a database using a custom code.

After creating a MySQL database


After creating a MySQL database using PHPMyAdmin, the next job is to start adding the tables.

The PHPMyAdmin has the option to “Check privileges” to map roles and MySQL database operations.

But, this is a rarely used feature. If the database is associated with more than one user, then this feature will be used.

How to create tables in a database?


After creating a database, the PHPMyAdmin shows a form to a create table. That form show fields to enter the table name and the number of columns of the table.

create database table

After specifying the table name and the “Number of columns”, the PHPMyAdmin panel will show inputs to add the table column specification.

See the following screen that is added with the column names with their corresponding types and more details.

create table column

Add user accounts and set privileges


Select the “User accounts” tab to see the number of existing user accounts. The PHPMyAdmin also allows adding a new user via the interface.

The “Create user” page will have the option to select the user account details and set the permission to perform operations like,

  • CRUD operations on the Data.
  • CREATE, ALTER, DROP and more operations on the MySQL database Structure.
  • Access Administration tools.
  • Setting resource limits like making the number of simultaneous connections.

See the screenshot below to allow or deny access permissions of the user created for a MySQL database.

create and set privileges

↑ Back to Top



https://www.sickgaming.net/blog/2022/11/...atabase-2/

Print this item

  (Indie Deal) Cyber Whale Bundle 2, Cashback, Devil in Me's out
Posted by: xSicKxBot - 11-24-2022, 10:09 AM - Forum: Deals or Specials - No Replies

Cyber Whale Bundle 2, Cashback, Devil in Me's out

Cyber Whale Bundle 2 | 6 Steam Games | 96% OFF
[www.indiegala.com]
Add to your collection & get a selection of games made with heart and mind brought to you by Whale Rock Games for the passionate gamers: Synthwave Burnout, NeuraGun, Inquisitor's Heart and Soul, Cybernetic Fault, Cyberpunk SFX, Euphoria: Supreme Mechanics.

https://www.youtube.com/watch?v=p6_hzXmQt3A
Blackfriday Cashback Sale
[www.indiegala.com]
For a limited time, any purchase made on IndieGala, be it store deals or bundles, will be rewarding you instantly and handsomely, directly into your IndieGala account, ready to be used!
[www.indiegala.com]
https://www.youtube.com/watch?v=wAw5RROD3ZI


https://steamcommunity.com/groups/indieg...7229708288

Print this item

  (Free Game Key) Narita Boy - Free GOG Game
Posted by: xSicKxBot - 11-24-2022, 10:09 AM - Forum: Deals or Specials - No Replies

Narita Boy - Free GOG Game

Narita Boy - Free GOG Game

Go to the giveaway page
https://www.gog.com/#giveaway
GOG Store link: https://www.gog.com/en/game/narita_boy
Auto-claim link: https://www.gog.com/giveaway/claim
This game is free to claim for less than 3 days


We are welcoming everyone to join our discord[discord.gg]. We are more active there on finding giveaways, small or large, and there are daily raffles you can participate.

?GrabFreeGames.com ?Twitter ?Steam Curator ?Facebook[fb.me]?Discord[discord.gg]
❤️Support us: HumbleBundle Partner[www.humblebundle.com] Fanatical Affiliate[www.fanatical.com]


https://steamcommunity.com/groups/GrabFr...9359158466

Print this item

  PC - WRC Generations
Posted by: xSicKxBot - 11-24-2022, 10:09 AM - Forum: New Game Releases - No Replies

WRC Generations



Rise to all the challenges of the most comprehensive, realistic and demanding rally simulation ever developed. Dive into the heart of the action and drive the cars from the 2022 WRC championship, including the new hybrid models.

Publisher: Nacon

Release Date: Nov 03, 2022




https://www.metacritic.com/game/pc/wrc-generations

Print this item

  News - Pokemon Scarlet And Violet Breeding And Egg Power Guide:
Posted by: xSicKxBot - 11-24-2022, 10:09 AM - Forum: Lounge - No Replies

Pokemon Scarlet And Violet Breeding And Egg Power Guide:

Because it's Gen 9, there's a new breeding method in Pokemon Scarlet and Violet. The older ways of Gold and Silver allowing trainers to breed new Pokemon with perfect IVs, natures, abilities, and max shiny odds, but the Paldea region is a "no daycare zone" that swaps nurseries and incense for a DIY picnic setup. The new system is designed to stir creativity within social circles and aid stat builds and competitive monster-making so before you break out the Peanut Butter & Jam Sandwiches, here's a brief explainer on how breeding eggs works in Pokemon Scarlet and Violet. For science, of course!

For more on Pokemon Scarlet and Violet, read our guides on Food Buffs and How To Evolve Charcadet.

How breeding works in Scarlet and Violet

Instead of leaving two compatible Pokemon in a Day Care (or Nursery), players can now spawn new Pokemon wherever they set up a picnic in the open world. All that's required in Scarlet and Violet is two Pokemon (one male, one female) who belong to the same Egg Group, a flat surface in a non-town area, and a scenic backdrop for ambiance. Eggs will start to slowly appear over time in a basket near the picnic table and while rolling hills and Tauros might get in your way, trainers can increase their egg frequency with Meal Powers or use a Mirror Herb item to pass down other Egg Moves.

Continue Reading at GameSpot

https://www.gamespot.com/articles/pokemo...01-10abi2f

Print this item

  [Oracle Blog] 2019 Duke's Choice Award Nominations
Posted by: xSicKxBot - 11-22-2022, 07:47 PM - Forum: Java Language, JVM, and the JRE - No Replies

2019 Duke's Choice Award Nominations

The Duke's Choice Award is dedicated to all members of the Java ecosystem! In keeping with its 17-year history, the 2019 Duke's Choice Award winners will be announced at Code One, the world's biggest Java technology conference and gathering of Java community members. The Duke's Choice Award celebrat...


https://blogs.oracle.com/java/post/2019-...ominations

Print this item

  [Tut] (Fixed) ModuleNotFoundError: No Module Named ‘git’ | Python
Posted by: xSicKxBot - 11-22-2022, 07:46 PM - Forum: Python - No Replies

(Fixed) ModuleNotFoundError: No Module Named ‘git’ | Python

5/5 – (1 vote)

Quick Fix: Python raises the ModuleNotFoundError: No module named 'git' when you haven’t installed GitPython explicitly with pip install GitPython or pip3 install GitPython (Python 3). Or you may have different Python versions on your computer, and GitPython is not installed for the particular version you’re using.

You’ll learn how to fix this error below after diving into the concrete problem first.

Problem Formulation



You’ve just learned about the awesome capabilities of the GitPython library, and you want to try it out, so you start your code with the following statement:

import git

or even something like:

from git import Repo

This is supposed to import the git library into your (virtual) environment. However, it only throws the following ModuleNotFoundError: No module named 'git':

>>> import git
Traceback (most recent call last): File "<pyshell#6>", line 1, in <module> import git
ModuleNotFoundError: No module named 'git'

Solution Idea 1: Install Library GitPython



The most likely reason is that Python doesn’t provide GitPython in its standard library. You need to install it first!

Before being able to import the GitPython module, you need to install it using Python’s package manager pip. Make sure pip is installed on your machine.

To fix this error, you can run the following command in your Windows shell:

$ pip install GitPython

This simple command installs GitPython in your virtual environment on Windows, Linux, and MacOS. Uppercase or lowercase library name doesn’t matter.

This assumes that your pip version is updated. If it isn’t, use the following two commands in your terminal, command line, or shell (there’s no harm in doing it anyways):

$ python -m pip install – upgrade pip
$ pip install GitPython

? Note: Don’t copy and paste the $ symbol. This is just to illustrate that you run it in your shell/terminal/command line.

Also, try the following variant if you run Python 3 on your computer:

pip3 install GitPython

Solution Idea 2: Fix the Path


The error might persist even after you have installed the GitPython library. This likely happens because pip is installed but doesn’t reside in the path you can use. Although pip may be installed on your system the script is unable to locate it. Therefore, it is unable to install the library using pip in the correct path.

To fix the problem with the path in Windows follow the steps given next.

Step 1: Open the folder where you installed Python by opening the command prompt and typing where python


Step 2: Once you have opened the Python folder, browse and open the Scripts folder and copy its location. Also verify that the folder contains the pip file.


Step 3: Now open the Scripts directory in the command prompt using the cd command and the location that you copied previously.


Step 4: Now install the library using pip install GitPython command. Here’s an analogous example:


After having followed the above steps, execute our script once again. And you should get the desired output.

Other Solution Ideas


  • The ModuleNotFoundError may appear due to relative imports. You can learn everything about relative imports and how to create your own module in this article.
  • You may have mixed up Python and pip versions on your machine. In this case, to install GitPython for Python 3, you may want to try python3 -m pip install GitPython or even pip3 install GitPython instead of pip install GitPython
  • If you face this issue server-side, you may want to try the command pip install – user GitPython
  • If you’re using Ubuntu, you may want to try this command: sudo apt install GitPython
  • You can also check out this article to learn more about possible problems that may lead to an error when importing a library.

Understanding the “import” Statement


import git

In Python, the import statement serves two main purposes:

  • Search the module by its name, load it, and initialize it.
  • Define a name in the local namespace within the scope of the import statement. This local name is then used to reference the accessed module throughout the code.

What’s the Difference Between ImportError and ModuleNotFoundError?


What’s the difference between ImportError and ModuleNotFoundError?

Python defines an error hierarchy, so some error classes inherit from other error classes. In our case, the ModuleNotFoundError is a subclass of the ImportError class.

You can see this in this screenshot from the docs:


You can also check this relationship using the issubclass() built-in function:

>>> issubclass(ModuleNotFoundError, ImportError)
True

Specifically, Python raises the ModuleNotFoundError if the module (e.g., git) cannot be found. If it can be found, there may be a problem loading the module or some specific files within the module. In those cases, Python would raise an ImportError.

If an import statement cannot import a module, it raises an ImportError. This may occur because of a faulty installation or an invalid path. In Python 3.6 or newer, this will usually raise a ModuleNotFoundError.

Related Videos


The following video shows you how to resolve the ImportError:

YouTube Video

The following video shows you how to import a function from another folder—doing it the wrong way often results in the ModuleNotFoundError:

YouTube Video

How to Fix “ModuleNotFoundError: No module named ‘git’” in PyCharm


If you create a new Python project in PyCharm and try to import the GitPython library, it’ll raise the following error message:

Traceback (most recent call last): File "C:/Users/.../main.py", line 1, in <module> import git
ModuleNotFoundError: No module named 'git' Process finished with exit code 1

The reason is that each PyCharm project, per default, creates a virtual environment in which you can install custom Python modules. But the virtual environment is initially empty—even if you’ve already installed GitPython on your computer!

Here’s a screenshot exemplifying this for the pandas library. It’ll look similar for GitPython.


The fix is simple: Use the PyCharm installation tooltips to install Pandas in your virtual environment—two clicks and you’re good to go!

First, right-click on the pandas text in your editor:


Second, click “Show Context Actions” in your context menu. In the new menu that arises, click “Install Pandas” and wait for PyCharm to finish the installation.

The code will run after your installation completes successfully.

As an alternative, you can also open the Terminal tool at the bottom and type:

$ pip install GitPython

If this doesn’t work, you may want to set the Python interpreter to another version using the following tutorial: https://www.jetbrains.com/help/pycharm/2016.1/configuring-python-interpreter-for-a-project.html

You can also manually install a new library such as GitPython in PyCharm using the following procedure:

  • Open File > Settings > Project from the PyCharm menu.
  • Select your current project.
  • Click the Python Interpreter tab within your project tab.
  • Click the small + symbol to add a new library to the project.
  • Now type in the library to be installed, in your example Pandas, and click Install Package.
  • Wait for the installation to terminate and close all popup windows.

Here’s an analogous example:


Here’s a full guide on how to install a library on PyCharm.



https://www.sickgaming.net/blog/2022/11/...it-python/

Print this item

  (Indie Deal) Vorax Development update #1
Posted by: xSicKxBot - 11-22-2022, 07:46 PM - Forum: Deals or Specials - No Replies

Vorax Development update #1


Hi all!
Starting from this week we will give you regular updates on the Vorax development every friday.

Below are our most recent YouTube videos that will give you an idea of where Vorax is in development.


Video 1: Ambush
Vorax is for the most part an open world game where you've got miles and miles to freely explore to your heart's content.
However there are also some more tightly closed spaces, claustrophobic even, like tunnels, sewers and caves.
There the mutation has peculiar aspects depending on the environment.
Certain kind of monsters are adapting to certain type of conditions, such as light or air,
therefore some types of mutations will be specific to closed and dark spaces.


Video 2: Defending The House
The majority of the enemies, especially the toughest are photosensitive.
You must balance your physical safety and your mental sanity carefully. Finding a shelter, an appropriate location where you can hide and barricade yourself will protect you, but staying too much into the darkness will slowly chip away at your sanity. Turning on the light might offer some mental comfort, however that will also, potentially, attract unwelcomed guests.

In fact, at night the hostile creatures, mostly photosensitive, come out to hunt.
So you need to exercise extreme caution when moving around.
We have planned several buildings that can be cleared, reinforced and made into a relatively safe haven for the night.
But if these safety operations are not carried out, they can be attacked by creatures.


Video 3: Tunnel
The virus contaminates the whole island, resulting in various forms of aberrations, from small to big... to massive.
What delves deep in the dark tunnels is just one of those aberrations. Dealing with it might make both your heart and the ground beneath you tremble.


Our Vision.

We have been trying for months to work on a large game area (in the alpha indiegala for now only 15% of the island is explorable) where
we want to give the feeling of a whole environment, flora, fauna, human beings… every cell contaminated by the virus.
Because the pathogen does not affect humans exclusively, other 'entities' might be infected by the virus and the resulting mutations can be abnormal.

We also focused heavily on combat system, an aspect that had left us unsatisfied in our previous title, Die Young.
The team has placed a big emphasison ranged weapons and firearms,
which is why managing the limited ammunition available will be important to survive.
But we haven't neglected hand-to-hand combat either.
In the coming weeks we will see the use of different work tools that can turn into lethal weapons.

Compared to Die Young we think we've definitely improved the survival side.
You will be able to craft almost anything you can find in the game and
also you will be able to build a large variety of structures in order to have the most personalized gaming experience possible.

Let's keep in touch next friday.



Keep an eye on ig for updates, especially next week. On the Black Friday weekend you will be able to try out the UPDATED ALPHA[freebies.indiegala.com] build. Once more, for a limited time only.
Next weekend, infact, we will update to latest features and fixes we've been working so hard in those months.

Make sure to join us on Discord[discord.gg] for exclusive news.

Wishlist now:
https://store.steampowered.com/app/1874190/Vorax/


https://steamcommunity.com/groups/indieg...7223840456

Print this item

  (Free Game Key) Steam Awards Nomination Committee 2022 - Free Steam Badge 100XP
Posted by: xSicKxBot - 11-22-2022, 07:46 PM - Forum: Deals or Specials - No Replies

Steam Awards Nomination Committee 2022 - Free Steam Badge 100XP

Steam Awards Nomination Committee 2022 - Free Steam Badge 100XP

Autumn sale is live, if you are into game deals, but there will be a winter sale at the end of december too

whats the point? there is no point, steam levels are for bragging

Go to the nominations page:
https://store.steampowered.com/steamawards/nominations

- Nominate a game in each category (different games in each category, also nominate a game that you already have downloaded)
- Play the game that you nominated (thats why the downloaded game above)
- Review a game that you nominated (it can be the one you played above) or edit the review


We are welcoming everyone to join our discord[discord.gg]. We are more active there on finding giveaways, small or large, and there are daily raffles you can participate.

?GrabFreeGames.com ?Twitter ?Steam Curator ?Facebook[fb.me]?Discord[discord.gg]
Support us: HumbleBundle Partner[www.humblebundle.com] Fanatical Affiliate[www.fanatical.com]


https://steamcommunity.com/groups/GrabFr...9356275381

Print this item

  News - God Of War Ragnarok Director Would Love A Shot At Castlevania
Posted by: xSicKxBot - 11-22-2022, 07:46 PM - Forum: Lounge - No Replies

God Of War Ragnarok Director Would Love A Shot At Castlevania

God of War Ragnarok has only been out for a few weeks, but game director Eric Williams is already angling for a new IP to tackle. In a recent interview with Kinda Funny, Williams said that he wants to make a Castlevania game, and he told fans to lobby Konami to license the IP.

"I don't know what I'm doing next, but if somebody gives me that Castlevania license, we'd love to make that," Williams said. Though it seems that Williams was joking to some extent, his enthusiasm for the Castlevania series is clear in the interview. At one point, he says that he's going to "get in so much trouble" for these comments. However, he further states that he wants to use Kinda Funny's platform to get the word out.

The last mainline Castlevania game, Lords of Shadow 2, came out in 2014. Though it might seem like a long-shot, Konami has shown a recent willingness to create new games rather than license its IPs for gambling. We saw that in the company's lengthy Silent Hill event earlier this year, when they announced several new projects in the works, including a long-rumored Silent Hill 2 remake.

Continue Reading at GameSpot

https://www.gamespot.com/articles/god-of...01-10abi2f

Print this item