473,403 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

basic question - getting started with mysql

I have a new website hosted by www.easily.co.uk which contains a mysql
database (I have the initial access codes etc ). My problem is I have never
used PHP or dealt with mysql before. I have tried looking at a few web
tutorials (which talked about accessing the mysql bin) which I cant seem to
find in my webspace.

Can anyone help me with advice or a decent BASIC url tutorial that will take
me through setting up a database up (and showing me where and how its set up
as well).

My objective is to create a 'genealogy based' database (names, dates, places
etc). I appreciate that I have to learn PHP (my choice) to send queries to
the database then get html results back (virtually), but I'm damned if I can
see where to put a database once I've found out how to create one.

I can appreciate (from my time in html newsgroups) that these initial
floundering questions will give most of you a good laugh (I chuckle
myself) - but I have to begin the learning process somewhere - so your help
and guidance would be most appreciated.

Thanks for any help you can give.

--
Jim Flack
www.jimflack.co.uk/
www.flackgenealogy.co.uk/
Jul 20 '05 #1
6 2477
Jim Flack wrote:
I have a new website hosted by www.easily.co.uk which contains a mysql
database (I have the initial access codes etc ). My problem is I have never
used PHP or dealt with mysql before. I have tried looking at a few web
tutorials (which talked about accessing the mysql bin) which I cant seem to
find in my webspace.


Do you know what operating system is on your website server?

Do you know what is a shell?

Can you log into the shell via ssh?

If you can, you should see the shell aka command promt aka "black window
with texts". There you can type commands like "ls" or "dir" (which
should show a list of files and folders in your current folder). If you
can get into place like that, try typing command "mysql", and you might
or might not get into mysql server, logged in as a test user (with
access only to test database, if such exists).
Jul 20 '05 #2

"Aggro" wrote
Do you know what operating system is on your website server?

Do you know what is a shell?

Can you log into the shell via ssh?

If you can, you should see the shell aka command promt aka "black window
with texts". There you can type commands like "ls" or "dir" (which
should show a list of files and folders in your current folder). If you
can get into place like that, try typing command "mysql", and you might
or might not get into mysql server, logged in as a test user (with
access only to test database, if such exists).


Aggro

I sent a "phpinfo" query to the website and got back the information that I
am running PHP version 4.1.2. It also tells me the system is linux
daffy.perf.redhat.com... Is that the info you were after ??. (sorry - no
idea what a shell is)

I've also just had an email back from the website suppliers giving me the
access codes to the MySQL Admin control panel. Now I have found out how to
access the control panel its making a bit more sense. I can probably do what
I need to do from there.

Thanks for your interest Aggro - much appreciated

Jim
Jul 20 '05 #3
You will most likely have shell access or phpMyAdmin. A shell is like
dos and it's where you type in commands. You webhost may not give you
shell access.

I'd recommend getting a good book. There are plenty that cover both
php and mysql.

Jay

"Jim Flack" <ja********@earthlink.net> wrote in message news:<BI*****************@newsread2.news.atl.earth link.net>...
"Aggro" wrote
Do you know what operating system is on your website server?

Do you know what is a shell?

Can you log into the shell via ssh?

If you can, you should see the shell aka command promt aka "black window
with texts". There you can type commands like "ls" or "dir" (which
should show a list of files and folders in your current folder). If you
can get into place like that, try typing command "mysql", and you might
or might not get into mysql server, logged in as a test user (with
access only to test database, if such exists).


Aggro

I sent a "phpinfo" query to the website and got back the information that I
am running PHP version 4.1.2. It also tells me the system is linux
daffy.perf.redhat.com... Is that the info you were after ??. (sorry - no
idea what a shell is)

I've also just had an email back from the website suppliers giving me the
access codes to the MySQL Admin control panel. Now I have found out how to
access the control panel its making a bit more sense. I can probably do what
I need to do from there.

Thanks for your interest Aggro - much appreciated

Jim

Jul 20 '05 #4

"Jay Donnell" <ja********@yahoo.com> wrote in message
news:a6**************************@posting.google.c om...
You will most likely have shell access or phpMyAdmin. A shell is like
dos and it's where you type in commands. You webhost may not give you
shell access.

I'd recommend getting a good book. There are plenty that cover both
php and mysql.

Jay


<snip>

Jay

You are correct above - when I got my access codes it goes to phpMyAdmin
control panel.

And yes I have order a book (just came yesterday) - Samms 'Teach yourself in
24 hours' - a tight target but at least their hearts in the right place
......lmao.
Actually, I used their books for learning my 1st html (and then JavaScript)
and they don't seem to be too bad. I must admit I don't want to become an
expert - just need enough knowledge to create/import/steal a programme to
run a searchable database for a genealogy site I am creating - maybe tailor
the programme a bit - keep updating the database every so often - then leave
it well alone. My main time is spent dealing with the dead bones of
genealogy rather than at the cutting edge of php and MySQL.

Thanks for your help anyway.

Jim
www.flackgenealogy.co.uk
Jul 20 '05 #5
Hi Jim

I to am with easily and have a web site that uses a mysql database.
Trouble is i am using ASP scripting instead of php.
Have you accessed your control panel and able to create tables in your
database?

If you decide to use asp instead of php, i could give you some
guidance.

Josh

On Fri, 14 May 2004 02:39:56 GMT, "Jim Flack"
<ja********@earthlink.net> wrote:
I have a new website hosted by www.easily.co.uk which contains a mysql
database (I have the initial access codes etc ). My problem is I have never
used PHP or dealt with mysql before. I have tried looking at a few web
tutorials (which talked about accessing the mysql bin) which I cant seem to
find in my webspace.

Can anyone help me with advice or a decent BASIC url tutorial that will take
me through setting up a database up (and showing me where and how its set up
as well).

My objective is to create a 'genealogy based' database (names, dates, places
etc). I appreciate that I have to learn PHP (my choice) to send queries to
the database then get html results back (virtually), but I'm damned if I can
see where to put a database once I've found out how to create one.

I can appreciate (from my time in html newsgroups) that these initial
floundering questions will give most of you a good laugh (I chuckle
myself) - but I have to begin the learning process somewhere - so your help
and guidance would be most appreciated.

Thanks for any help you can give.


Jul 20 '05 #6

"josh" <Jo**@noshernasher.com> wrote in message
news:7k********************************@4ax.com...
Hi Jim

I to am with easily and have a web site that uses a mysql database.
Trouble is i am using ASP scripting instead of php.
Have you accessed your control panel and able to create tables in your
database?

If you decide to use asp instead of php, i could give you some
guidance.

Josh


<snip>
Hi Josh

Thanks for the encouragement - I'm only using PHP cos its there - and most
of the 'off the shelf progs' I want are written in that too.

I can access my admin center - and there is no doubt everything I need there
to "do things", but at the moment I feel I am blindfold and in the dark at
the same time.

I currently fail to see the basic outline of what I want to do, how to do it
or basically how it all works. If I had a web folder I could dump it all
into I'd e a happy man .lol (maybe I have and just cant see it).

I just downloaded a free script that hopefully will give me a VERY simple
messageboard - the same sort that operates in
http://genforum.genealogy.com/flack/.
The free script is at http://www.cobra-scripts.com/downloads.html and it
tells me to just **** Upload the PHP script on your server in the directory
with CHMOD at least 0777 **** .(where on earth is my folder with CHMOD in it
???)

I must admit to not having a clue if I just upload this to my main web space
and access the php page and 'whoosh' it all appears like magic - or if I'm
supposed to put it in a new folder somewhere - and if I do that are there 'a
href links' to change.

Basically - I'm a little loath to press the 'nuke' button until I know whats
about to happen and where everything is going to dissapear and/or re-appear.

Are the MySQL folders in my webspace ?? or are they elsewhere ??? and thats
why I can't see them ??

I must admit I'm still searching for the whole php/mtsql 'overview' - before
I can launch myself into the component parts - I really do feel quite
helpless at the moment - -arghhhhhhhhhhhhhh - is there a samaritans
php/mysql help line anywhere ...lmao.

I'll just have to go and look at a few more tutorials and see if the penny
drops.

Cheers.

Jim


Jul 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Daniel McDonald | last post by:
Hi, I am new to SQL Server. I am attempting to execute an insert query, but I keep getting an entire range of errors depending on which way I choose to do it. Can anybody tell me what is wrong...
6
by: Jeff Harbin | last post by:
I've spent the last 2 days trying to begin using mysql. I've purchased 3 books and read huge chunks of the documentation provided with the mysql zip file. I've downloaded...
80
by: Bibby | last post by:
Hi, I'm interested in getting started in the programming world. I've dabbled in C, C++ and VB6. Which would be the best language to focus my attention to regarding the following considerations: ...
0
by: tamdino | last post by:
Please accept my apologies if I am posting this in the wrong place. I am trying to get started using MySQL-Front and I am totally lost. Does anyone know where there is a tutorial for getting...
1
by: bidalah | last post by:
Hello, I am looking for basic info on installing and using MSDE. I am trying to install and play with MSDE on my PC (Win2000). I finally managed to work my way through installation, and named...
7
by: Bob Morvay | last post by:
I am trying to determine how far I should go in encapsulating data. As I understand it, OO practices state to create private member variables and use these variables in your publicly accessible...
4
by: Mason Barge | last post by:
I'm learning how to build a website. So far I've gotten pretty good with HTML, CSS, and Paint Shop Pro, and I'm currenly learning the basics of Javascript. I'm hoping, eventually, to build and...
6
Atli
by: Atli | last post by:
This is an easy to digest 12 step guide on basics of using MySQL. It's a great refresher for those who need it and it work's great for first time MySQL users. Anyone should be able to get...
5
by: bodhiSoma | last post by:
Hi all. Can't seem to get PHP to play nice with MySQL. First I logged into MySQL, created the db, switched to it and then granted (what I thought were) correct privileges: -------- ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.