- Eroarea intalnita. | Afiseaza codul
Eroare GameCp
Moderators: Moderatori ajutatori, Moderatori
- duduftw
- Utilizator neserios
- Posts: 1936
- Joined: 19 Dec 2012, 20:30
- Detinator Steam: Da
- CS Status: sdd
- SteamID: duduftw
- Reputatie: Utilizator neserios
- Location: Constanta
- Has thanked: 97 times
- Been thanked: 57 times
Are idee cineva de ce nu porneste GameCP?
ne mai pensionam si noi ?
- faggoat
- Membru eXtream
- Posts: 2278
- Joined: 10 May 2013, 11:50
- Detinator Steam: Nu
- SteamID: noonstake
- Reputatie: Nume anterior: stefanbri
Fost membru Club eXtreamCS ( 2 luni, Castigator eXtreamMEME ) - Has thanked: 37 times
- Been thanked: 29 times
incearca sa reinstalezi mysql pe server
"e inundatie in cartier si tu dormi mancamiai pl de roman"
- faggoat
- Membru eXtream
- Posts: 2278
- Joined: 10 May 2013, 11:50
- Detinator Steam: Nu
- SteamID: noonstake
- Reputatie: Nume anterior: stefanbri
Fost membru Club eXtreamCS ( 2 luni, Castigator eXtreamMEME ) - Has thanked: 37 times
- Been thanked: 29 times
Google is your friend.
Cauta: "How to install MySQL on Debian"
Cauta: "How to install MySQL on Debian"
"e inundatie in cartier si tu dormi mancamiai pl de roman"
- strikearea
- Membru, skill +2
- Posts: 526
- Joined: 15 Aug 2013, 10:21
- Detinator Steam: Da
- CS Status: Imi place forumul eXtreamCS.com...!
- Detinator server CS: Da
- SteamID: bloodystrikearea
- Has thanked: 38 times
- Been thanked: 21 times
- Contact:
Code: Select all
How to install MySQL on Ubuntu/Debian
Wednesday 12 December 2007
It may seem easy for some, but for others, installing MySQL on Ubuntu or Debian Linux is not an easy task. This article explains to you how to install the MySQL Server and Client packages on a Ubuntu/Debian system.
First of all, make sure your package management tools are up-to-date. Also make sure you install all the latest software available.
sudo apt-get update
sudo apt-get dist-upgrade
After a few moments (or minutes, depending on the state of your system), you’re ready to install MySQL. ~ By default, recent Ubuntu/Debian systems install a MySQL Server from the 5-branch. This is a good thing, so don’t worry.
First, install the MySQL server and client packages:
sudo apt-get install mysql-server mysql-client
When done, you have a MySQL database read to rock ‘n roll. However, there’s more to do.
You need to set a root password, for starters. MySQL has it’s own user accounts, which are not related to the user accounts on your Linux machine. By default, the root account of the MySQL Server is empty. You need to set it. Please replace ‘mypassword’ with your actual password and myhostname with your actual hostname.
sudo mysqladmin -u root -h localhost password 'mypassword'
sudo mysqladmin -u root -h myhostname password 'mypassword'
Now, you probably don’t want just the MySQL Server. Most likely you have Apache+PHP already installed, and want MySQL to go with that. Here are some libraries you need to install to make MySQL available to PHP:
sudo apt-get install php5-mysql
Or for Ruby:
sudo apt-get install libmysql-ruby
You can now access your MySQL server like this:
mysql -u root -p
Have fun using MySQL Server.
-
- Membru, skill +2
- Posts: 550
- Joined: 31 Mar 2013, 15:18
- Detinator Steam: Da
- Has thanked: 35 times
- Been thanked: 21 times
Conecteazate la server si fa o baza de date noua:
Code: Select all
mysql -u root -p
...
CREATE DATABASE gamecp;
Stay chill.
- wind
- Membru, skill +3
- Posts: 1457
- Joined: 24 Nov 2008, 21:39
- Detinator Steam: Da
- Detinator server CS: CS.JoiNeT.Ro
- SteamID: windcs
- Reputatie: Ban 2 luni!
- Location: Constanta
- Has thanked: 30 times
- Been thanked: 58 times
- Contact:
Si pune in loc de localhost -> 127.0.0.1 si iti va functiona ok remotele :)
- NaiTsiRhk.
- Membru, skill +1
- Posts: 203
- Joined: 01 Mar 2013, 18:43
- Detinator Steam: Da
- Detinator server CS: CS.DEVILZ.RO
- Has thanked: 7 times
- Been thanked: 2 times
- Contact:
- strikearea
- Membru, skill +2
- Posts: 526
- Joined: 15 Aug 2013, 10:21
- Detinator Steam: Da
- CS Status: Imi place forumul eXtreamCS.com...!
- Detinator server CS: Da
- SteamID: bloodystrikearea
- Has thanked: 38 times
- Been thanked: 21 times
- Contact:
cauta-l pe Robo
-
- Information
-
Who is online
Users browsing this forum: Kaddnop, KirryCs, Petal [Bot], The Kalu, Yandex [Bot] and 344 guests