473,795 Members | 3,323 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

not able to write stored procedures in mysql

53 New Member
i am using mysql 4.17 and i heard abt it not supporting stored procedures. plz tell me how to excute stored procedres in my system
Mar 28 '07 #1
3 1985
cnplnsk
19 New Member
as per my information you can't create store procedure in mysql 4.17 because it not support for stored procedure so, you will need to use of mysql 5.0.1 and above
Mar 29 '07 #2
menmysql
53 New Member
i dowloaded it from mysql.com but im not able to work with that. can you say how to work with mysql 5.0. i downladed 5.0 from mysql.com and installed but it is saying that is mysql server. im in full of confusion. plz solve my problem
and also tell how to update my oldeversion to 5.0



as per my information you can't create store procedure in mysql 4.17 because it not support for stored procedure so, you will need to use of mysql 5.0.1 and above
Mar 29 '07 #3
cnplnsk
19 New Member
OK i think i got your problem;
now start mysqld.exe for win98 or mysqld-nt.exe for nt/xp server file from bin directory of mysql.
OK this will start your mysql server.
Now shutdown server by ctrl+alt+delete choose end task

if you have winmysqladmin.e xe file in bin dir you need not do this only start the server and shutdown.

OK now create mysql.bat file in bin directory of mysql edit it and type the
following 4 lines of commands

if your mysql on localhost then type following
@echo off
cls
mysqld.exe /***choose mysqld.exe or mysqld-nt.exe as your system configuration as i told befor plz don't write this comment****/
mysql -u root

if your mysql from other host then type following
@echo off
cls
mysqld.exe /***choose mysqld.exe or mysqld-nt.exe as your system configuration as i told before plz don't write this comment****/
mysql -u root -h host_ip

now save the file
OK double click on mysql.bat this will start your mysql database
type following command.
mysql>use test
now can refer mysql manual for database commands from mysql.com

Note: Every time you have start this bat for restarting if there multiple server is running in ctrl+alt+delete task manager keep only one close other
Mar 29 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1822
by: Chrisbarbers | last post by:
--part1_108.256bef7d.2c5af59f_boundary Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi =A0 I have purchased a package that uses ASP and SQL, my webhost provides MYSQL=20 and I have loaded my access database and all seems to be working fine.=20
3
2089
by: Ben | last post by:
Dear MySQL experts, I have a website that is using MS SQL Server 2000 with ASP scripting. I want to switch over to MySQL, but I'm just sticking my toes in the water at the moment to see if it makes sense. One of my favorites things about MS SQL is being able to use the Enterprise Manager as a GUI in constructing VIEWS that I later turn into stored procedures. EM makes it super simple to link tables and create a query. It basically...
3
1971
by: Marty | last post by:
Is there an issue with stored procedure and mySQL v5.0.18 ? We are programming an application that need stored procedures and triggers and our programmer can't make them work, is it a know issue or our programmer missed something? Regards, Marty
1
1591
by: E.T. Grey | last post by:
Hi All, Despite spending the past six to seven hours perusing the docs on the mySQl site, I still have questions unanswered, and have been unable to get any help. I am familiar with Sybase, some Oracle and PostgreSQL - but the mySQL SQL seems a bit "non-standard". I would be very grateful for any help I get in answering these questions: Stored procedures
2
6124
by: bshumsky06 | last post by:
Hi, I am trying to create stored procedures in MySQL. Does anyone have a suggestion on a good IDE to use. I have been working with the MySQL Query Browser but it generates errors very often and is shut down by Windows. When I make changes to my procedure, it doesn't seem to always change what is being executed. Furthermore, sometimes the procedure just disappears from my database. I am starting to think that the stored procedure...
1
10122
by: Radhakrishnans | last post by:
hai friends i am new to java and mysql.i have created stored procedures in mysql.Now i want to call that stored procedures in java.All works fine.but it show the following error. unreported exception java.lang.InstantiationException; must be caught or declared to be thrown Class.forName ("com.mysql.jdbc.Driver").newInstance(); I need code sample along with connection string.please.... My codings here CallableStatement proc =...
0
1737
by: Bruno Barberi Gnecco | last post by:
I'm using stored procedures in a PHP site, with mysql. I'm having problems with stored procedures. Of the two I'm using, one works all the time, consistently. The other works correctly, but the next query returns "Lost connection to MySQL server during query" and subsequently: "MySQL server has gone away". I'm using MDB2 to access the database. I tried changing the driver from 'mysql' to 'mysqli', with little success. Currently, about...
1
1854
by: Muhammad Intikhab Qaiser | last post by:
Hi I am developing a parser to parse the stored procedure and function definition of MySQL.I need to extract the names of stored procedures,functions and tables which are being used in any particular stored procedure definition.How i can get this information? Also i want to know at what places within the stored procedures are the names of tables and other stored procedures can be used? Thanks
3
6158
by: shivapadma | last post by:
1. i want to write a stored procedure using mysql 5.0.45 version. 2. when i tried with the following code ,i am unable to write mysql->delimeter// ->create procedure proc(out p1 int) ->select count(*) into p1 from emp; when i pressed enter, the following error is appeared .
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10435
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10213
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10163
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7538
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.